From befd35bced49fc8b76f2c2ed2ec80bf75265599a Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Thu, 18 Feb 2016 17:09:53 -0500 Subject: [PATCH] Add extra_specs_list test There is no test covering this command. Change-Id: I887cef64490037b17dbea5d82b099324b5fe9d58 --- cinderclient/tests/unit/v2/test_shell.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cinderclient/tests/unit/v2/test_shell.py b/cinderclient/tests/unit/v2/test_shell.py index 03f25f689..da640e8aa 100644 --- a/cinderclient/tests/unit/v2/test_shell.py +++ b/cinderclient/tests/unit/v2/test_shell.py @@ -1213,3 +1213,7 @@ class ShellTest(utils.TestCase): self.run_command('snapshot-unmanage 1234') self.assert_called('POST', '/snapshots/1234/action', body={'os-unmanage': None}) + + def test_extra_specs_list(self): + self.run_command('extra-specs-list') + self.assert_called('GET', '/types?is_public=None')