Remove duplicate test definitions
A few functions were duplicate, apparently merge errors. Remove them. Change-Id: Ifa23eb1fe5a5782101491be6b90ee9bed1e41b1b
This commit is contained in:
@@ -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',
|
||||
|
@@ -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"},
|
||||
|
Reference in New Issue
Block a user