From 6a56e4ff0047921f5afc4e106659e2bae1411da4 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 10 Sep 2020 16:19:12 -0600 Subject: test: start proxy server before suite and shutdown at end of suite --- spec/integration/python/pip_spec.rb | 2 +- spec/integration/python/pipenv_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/integration/python') diff --git a/spec/integration/python/pip_spec.rb b/spec/integration/python/pip_spec.rb index b2e55b2..856d463 100644 --- a/spec/integration/python/pip_spec.rb +++ b/spec/integration/python/pip_spec.rb @@ -182,7 +182,7 @@ RSpec.describe "pip" do it 'downloads the packages and trusts the certificate' do report = runner.scan(env: { - 'ADDITIONAL_CA_CERT_BUNDLE' => x509_certificate('wildcard.test').read, + 'ADDITIONAL_CA_CERT_BUNDLE' => x509_certificate.read, 'PIP_INDEX_URL' => index_url }) diff --git a/spec/integration/python/pipenv_spec.rb b/spec/integration/python/pipenv_spec.rb index 74e1c6e..b7847fd 100644 --- a/spec/integration/python/pipenv_spec.rb +++ b/spec/integration/python/pipenv_spec.rb @@ -213,7 +213,7 @@ RSpec.describe "pipenv" do let(:index_url) { "https://pypi.test/simple" } let(:env) do { - 'ADDITIONAL_CA_CERT_BUNDLE' => x509_certificate('wildcard.test').read, + 'ADDITIONAL_CA_CERT_BUNDLE' => x509_certificate.read, 'PIP_INDEX_URL' => index_url } end -- cgit v1.2.3