diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-05-09 00:17:41 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-05-09 00:17:41 +0000 |
| commit | 1130dd70dfffb67636dac2f8cd53804f1f9fb894 (patch) | |
| tree | 2f444f59579d5078cfbd65cc7d9346fc969a4ea3 | |
| parent | 1736e2ffb12f70eeebed019448bc14def48aa036 (diff) | |
| parent | 8763390851e081611d737c9fef52c0ec40cf186f (diff) | |
| download | python-keystoneclient-1130dd70dfffb67636dac2f8cd53804f1f9fb894.tar.gz | |
Merge "Remove duplicate test definitions"
| -rw-r--r-- | tests/test_shell.py | 3 | ||||
| -rw-r--r-- | tests/v2_0/fakes.py | 6 |
2 files changed, 0 insertions, 9 deletions
diff --git a/tests/test_shell.py b/tests/test_shell.py index 61e4172..6b9b7f6 100644 --- a/tests/test_shell.py +++ b/tests/test_shell.py @@ -78,9 +78,6 @@ class ShellTest(utils.TestCase): os.environ = _old_env return out - def test_help_unknown_command(self): - self.assertRaises(exceptions.CommandError, shell, 'help foofoo') - def test_help_no_args(self): do_tenant_mock = mock.MagicMock() with mock.patch('keystoneclient.shell.OpenStackIdentityShell.do_help', diff --git a/tests/v2_0/fakes.py b/tests/v2_0/fakes.py index 00422e8..47d398c 100644 --- a/tests/v2_0/fakes.py +++ b/tests/v2_0/fakes.py @@ -381,12 +381,6 @@ class FakeHTTPClient(fakes.FakeClient): "id": "1"}} return (200, body) - def post_OS_KSADM_roles(self, **kw): - body = {"role": - {"name": "new-role", - "id": "1"}} - return (200, body) - def get_OS_KSADM_roles(self, **kw): body = {"roles": [ {"id": "10", "name": "admin"}, |
