summaryrefslogtreecommitdiffstats
path: root/tests/test_v3_auth.py
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2013-02-19 10:39:22 -0600
committerHenry Nash <henryn@linux.vnet.ibm.com>2013-03-19 19:19:59 +0000
commitcd3f58a8d05010838bd5e2d095103c2623499112 (patch)
treeb0fe0e0553c71a4d5f603e4acf78e53fc5dd09e4 /tests/test_v3_auth.py
parenta066b69fbe1ad2e3f577a3a21487d2eaebe22a15 (diff)
downloadkeystone-cd3f58a8d05010838bd5e2d095103c2623499112.tar.gz
keystone-cd3f58a8d05010838bd5e2d095103c2623499112.tar.xz
keystone-cd3f58a8d05010838bd5e2d095103c2623499112.zip
Validate domains unconditionally (bug 1130236)
Ensure that we validate the domain status of user/project for a user authenticating via the v2 API. This patch builds on the initial functional change done by Dolph, and fixes up the tests that broke sure to domain being required in any tests that setup data directly in the backends. Fixes Bug #1130236 Change-Id: I66dfd453fb95fa4fa3fde713b663386a2c2ecdf8
Diffstat (limited to 'tests/test_v3_auth.py')
-rw-r--r--tests/test_v3_auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_v3_auth.py b/tests/test_v3_auth.py
index 092980e7..7b687477 100644
--- a/tests/test_v3_auth.py
+++ b/tests/test_v3_auth.py
@@ -340,7 +340,7 @@ class TestTokenAPIs(test_v3.RestfulTestCase):
self.assertIn('signed', r.body)
-class ATestTokenRevoking(test_v3.RestfulTestCase):
+class TestTokenRevoking(test_v3.RestfulTestCase):
"""Test token revoking for relevant v3 identity apis"""
def setUp(self):
@@ -360,7 +360,7 @@ class ATestTokenRevoking(test_v3.RestfulTestCase):
- User3 is a member of group2
"""
- super(ATestTokenRevoking, self).setUp()
+ super(TestTokenRevoking, self).setUp()
# Start by creating a couple of domains and projects
self.domainA = self.new_domain_ref()