diff options
author | David Lyle <david.lyle@hp.com> | 2014-02-13 13:57:22 -0700 |
---|---|---|
committer | David Lyle <david.lyle@hp.com> | 2014-02-13 14:01:12 -0700 |
commit | 043085f812a1d06e8e082b2dbd52f406172bbfff (patch) | |
tree | 6f1c66bfc3db2bd0aca6af583263e2e89b780bda /openstack_dashboard/test | |
parent | 4e1eb710e0dc44b4b18dc0a83f1fdeaa05030d15 (diff) | |
download | horizon-043085f812a1d06e8e082b2dbd52f406172bbfff.tar.gz |
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
Diffstat (limited to 'openstack_dashboard/test')
-rw-r--r-- | openstack_dashboard/test/helpers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openstack_dashboard/test/helpers.py b/openstack_dashboard/test/helpers.py index 3ca1c5560..f5a02c49b 100644 --- a/openstack_dashboard/test/helpers.py +++ b/openstack_dashboard/test/helpers.py @@ -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 |