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:
parent
742023fd13
commit
ca0f2f2b0d
@ -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)
|
||||
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user