From c1fe99854c4a4082d377de07d1c925abcddb01a9 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Wed, 18 Jan 2012 11:23:43 -0800 Subject: [PATCH] rename ec2 tests to be more explicit --- tests/test_keystoneclient.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_keystoneclient.py b/tests/test_keystoneclient.py index 217bb2a77c..024edcb1a7 100644 --- a/tests/test_keystoneclient.py +++ b/tests/test_keystoneclient.py @@ -263,14 +263,14 @@ class KcMasterTestCase(CompatTestCase): creds = client.ec2.list(self.user_foo['id']) self.assertEquals(creds, []) - def test_ec2_credentials_scoping_list(self): + def test_ec2_credentials_list_unauthorized_user(self): from keystoneclient import exceptions as client_exceptions boo = self.get_client('BOO') self.assertRaises(client_exceptions.Unauthorized, boo.ec2.list, self.user_foo['id']) - def test_ec2_credentials_scoping_get(self): + def test_ec2_credentials_get_unauthorized_user(self): from keystoneclient import exceptions as client_exceptions foo = self.get_client() @@ -282,7 +282,7 @@ class KcMasterTestCase(CompatTestCase): foo.ec2.delete(self.user_foo['id'], cred.access) - def test_ec2_credentials_scoping_delete(self): + def test_ec2_credentials_delete_unauthorized_user(self): from keystoneclient import exceptions as client_exceptions foo = self.get_client()