From 1e64378f423f288fadf1d1ec7db786236d9614d2 Mon Sep 17 00:00:00 2001 From: Henry Nash Date: Fri, 22 Feb 2013 15:34:58 +0000 Subject: Make getting user-domain roles backend independant There is nothing backend specific in geting the list of roles for a user-domain, so we should move this function into backends core. This also has the affect of now ensuring that the kvs and ldap support will work, provided the specific backend supports roles on users and domains. This is true today for kvs, but support in ldap for domains is gated by other bugs. Fixes bug #1131769 Change-Id: Id99accb33fd7cd8d6c37e64e140552c5bfe68349 --- tests/test_backend_ldap.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test_backend_ldap.py') diff --git a/tests/test_backend_ldap.py b/tests/test_backend_ldap.py index 72bc09a1..4c86f1a7 100644 --- a/tests/test_backend_ldap.py +++ b/tests/test_backend_ldap.py @@ -406,6 +406,12 @@ class LDAPIdentity(test.TestCase, test_backend.IdentityTests): def test_get_and_remove_correct_role_grant_from_a_mix(self): raise nose.exc.SkipTest('Blocked by bug 1101287') + def test_get_roles_for_user_and_domain(self): + raise nose.exc.SkipTest('Blocked by bug 1101276') + + def test_get_roles_for_user_and_domain_404(self): + raise nose.exc.SkipTest('Blocked by bug 1101276') + def test_domain_crud(self): raise nose.exc.SkipTest('Blocked by bug 1101276') -- cgit