diff --git a/tests/test_shell.py b/tests/test_shell.py index 61e417245..6b9b7f6dc 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 00422e85f..47d398c76 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"},