Fixing tests to work with keystoneclient 0.6.0
Another item needs mocking with the new release of python_keystoneclient. Adding it to mocked keystoneclient.Client object. Closes-Bug: #1279907 Change-Id: I3c43a7290a6e05c718082dcad369162bf21e3603
This commit is contained in:
parent
4e1eb710e0
commit
043085f812
@ -304,6 +304,7 @@ class APITestCase(TestCase):
|
||||
keystone_client.Client.tenant_id = '1'
|
||||
keystone_client.Client.tenant_name = 'tenant_1'
|
||||
keystone_client.Client.management_url = ""
|
||||
keystone_client.Client.__dir__ = lambda: []
|
||||
self.keystoneclient = self.mox.CreateMock(keystone_client.Client)
|
||||
return self.keystoneclient
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user