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
(cherry picked from commit 043085f812
)
This commit is contained in:
parent
117ac2f22c
commit
e6a46534d0
|
@ -283,6 +283,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