diff options
author | Morgan Fainberg <m@metacloud.com> | 2013-10-31 16:48:45 -0700 |
---|---|---|
committer | Morgan Fainberg <m@metacloud.com> | 2013-11-15 12:53:03 -0800 |
commit | 0116044118409d882ed596c3e7cc63bf3ec74776 (patch) | |
tree | b581c4c9000a176b142facab17ab980e9fbc3c79 /keystone/tests/test_backend.py | |
parent | e5416c493f16dc42cbd199c5a20809740f55ea0e (diff) | |
download | keystone-0116044118409d882ed596c3e7cc63bf3ec74776.tar.gz |
Proxy Assignment from Identity Deprecated
The identity_api served as a proxy for calling the assignment_api
and a majority of this proxy mechanism was removed. This is the
second pass on the proxy cleanup fixing up the lingering domain
calls from the identity core api.
All proxy calls removed in the Icehouse development cycle (so far)
have been re-added and now have the @deprecated mechanism used to
indicate the support will be removed once development for J release
has been opened as discussed at the Icehouse design summit. See
https://etherpad.openstack.org/p/icehouse-keystone-internal-apis
for information on why these were added back in.
closes-bug: #1220913
Change-Id: If28b6d9189fa5879c8dbe131174b8cb8f84d9668
Diffstat (limited to 'keystone/tests/test_backend.py')
-rw-r--r-- | keystone/tests/test_backend.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keystone/tests/test_backend.py b/keystone/tests/test_backend.py index 898048550..75b6288fc 100644 --- a/keystone/tests/test_backend.py +++ b/keystone/tests/test_backend.py @@ -2418,17 +2418,17 @@ class IdentityTests(object): domain = {'id': uuid.uuid4().hex, 'name': uuid.uuid4().hex, 'enabled': True} self.assignment_api.create_domain(domain['id'], domain) - domain_ref = self.identity_api.get_domain(domain['id']) + domain_ref = self.assignment_api.get_domain(domain['id']) self.assertDictEqual(domain_ref, domain) domain['name'] = uuid.uuid4().hex self.assignment_api.update_domain(domain['id'], domain) - domain_ref = self.identity_api.get_domain(domain['id']) + domain_ref = self.assignment_api.get_domain(domain['id']) self.assertDictEqual(domain_ref, domain) self.assignment_api.delete_domain(domain['id']) self.assertRaises(exception.DomainNotFound, - self.identity_api.get_domain, + self.assignment_api.get_domain, domain['id']) def test_create_domain_case_sensitivity(self): |