summaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/tests
diff options
context:
space:
mode:
authorWuKong <rebirthmonkey@gmail.com>2015-07-20 12:56:02 +0200
committerWuKong <rebirthmonkey@gmail.com>2015-07-20 12:56:02 +0200
commit098a966477ffe60b1ebe6eba6fff55ff6e8f3042 (patch)
tree04f1690feef0c39406f2d20dd53aa806e6a0c08f /keystone-moon/keystone/tests
parent37ffcbf7e825317559d8e49ff9b60b8c5570405d (diff)
review code
Change-Id: I16e40a78609687751fad4e80f3f709038513f229 Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'keystone-moon/keystone/tests')
-rw-r--r--keystone-moon/keystone/tests/moon/unit/test_unit_core_tenant.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/keystone-moon/keystone/tests/moon/unit/test_unit_core_tenant.py b/keystone-moon/keystone/tests/moon/unit/test_unit_core_tenant.py
index 1da57990..2ac70f6e 100644
--- a/keystone-moon/keystone/tests/moon/unit/test_unit_core_tenant.py
+++ b/keystone-moon/keystone/tests/moon/unit/test_unit_core_tenant.py
@@ -56,7 +56,7 @@ class TestTenantManager(tests.TestCase):
self.assertEquals(data["name"], new_mapping[_uuid]["name"])
self.assertEquals(data["authz"], new_mapping[_uuid]["authz"])
self.assertEquals(data["admin"], new_mapping[_uuid]["admin"])
- data = self.manager.get_tenant_dict()
+ data = self.manager.get_tenants_dict()
self.assertNotEqual(data, {})
data = self.manager.get_tenant_uuid(new_mapping[_uuid]["authz"])
self.assertEquals(_uuid, data)
@@ -84,10 +84,10 @@ class TestTenantManager(tests.TestCase):
self.assertEquals(data["name"], new_mapping[_uuid]["name"])
self.assertEquals(data["authz"], new_mapping[_uuid]["authz"])
self.assertEquals(data["admin"], new_mapping[_uuid]["admin"])
- data = self.manager.get_tenant_dict()
+ data = self.manager.get_tenants_dict()
self.assertNotEqual(data, {})
self.manager.delete(new_mapping[_uuid]["authz"])
- data = self.manager.get_tenant_dict()
+ data = self.manager.get_tenants_dict()
self.assertEqual(data, {})
def test_set_tenant_name(self):