diff options
author | Zuul <zuul@review.opendev.org> | 2020-07-17 19:32:29 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-07-17 19:32:29 +0000 |
commit | a29c6be97d923bdfb10bdb1d68a45190930e8212 (patch) | |
tree | e71c2265462dac8f3439577f4a11f656a919e95c /glanceclient/tests | |
parent | dca62b4de1a366a869ff9feb88dbb830e1055b7b (diff) | |
parent | b513c8db4bf6a5b2eb0366117ca22e042dd3529e (diff) | |
download | python-glanceclient-a29c6be97d923bdfb10bdb1d68a45190930e8212.tar.gz |
Merge "Do not use the six library."
Diffstat (limited to 'glanceclient/tests')
-rw-r--r-- | glanceclient/tests/unit/test_shell.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/glanceclient/tests/unit/test_shell.py b/glanceclient/tests/unit/test_shell.py index 4823224..74d1c33 100644 --- a/glanceclient/tests/unit/test_shell.py +++ b/glanceclient/tests/unit/test_shell.py @@ -160,27 +160,6 @@ class ShellTest(testutils.TestCase): sys.stderr = orig_stderr return (stdout, stderr) - def test_fixup_subcommand(self): - arglist = [u'image-list', u'--help'] - expected_arglist = [u'image-list', u'--help'] - - openstack_shell.OpenStackImagesShell._fixup_subcommand( - arglist, arglist - ) - self.assertEqual(expected_arglist, arglist) - - def test_fixup_subcommand_with_options_preceding(self): - arglist = [u'--os-auth-token', u'abcdef', u'image-list', u'--help'] - unknown = arglist[2:] - expected_arglist = [ - u'--os-auth-token', u'abcdef', u'image-list', u'--help' - ] - - openstack_shell.OpenStackImagesShell._fixup_subcommand( - unknown, arglist - ) - self.assertEqual(expected_arglist, arglist) - def test_help_unknown_command(self): shell = openstack_shell.OpenStackImagesShell() argstr = '--os-image-api-version 2 help foofoo' |