Merge "Fix working scenario tests with swiftclient"

This commit is contained in:
Jenkins 2015-09-21 18:29:32 +00:00 committed by Gerrit Code Review
commit 042578e31c
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ class BaseTestCase(base.BaseTestCase):
authurl=auth_url,
user=username,
key=password,
insecure=self.credentials['ssl_verify'],
insecure=not self.credentials['ssl_verify'],
cacert=self.credentials['ssl_cert'],
tenant_name=tenant_name)

View File

@ -172,7 +172,7 @@ class TestBase(testtools.TestCase):
swift.assert_called_with(auth_version='2.0',
user='admin',
key='nova',
insecure=True,
insecure=False,
cacert='/etc/tests/cert.crt',
tenant_name='admin',
authurl='http://localhost:5000/v2.0')