Fix working scenario tests with swiftclient

Value "insecure" in swiftclient should have
inverse value of ssl_verify.
Change-Id: Ieb6e46b8f5969bfc3b47ee293c346fb2977103c3
Closes-bug: #1484536
This commit is contained in:
Evgeny Sikachev 2015-09-14 21:29:31 +03:00
parent 742023fd13
commit ca0f2f2b0d
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

@ -171,7 +171,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')