diff options
Diffstat (limited to 'tests/test_command.py')
-rw-r--r-- | tests/test_command.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/test_command.py b/tests/test_command.py deleted file mode 100644 index 39fde51..0000000 --- a/tests/test_command.py +++ /dev/null @@ -1,22 +0,0 @@ - -from cliff.command import Command - - -class TestCommand(Command): - """Description of command. - """ - - def take_action(self, parsed_args): - return - - -def test_get_description(): - cmd = TestCommand(None, None) - desc = cmd.get_description() - assert desc == "Description of command.\n " - - -def test_get_parser(): - cmd = TestCommand(None, None) - parser = cmd.get_parser('NAME') - assert parser.prog == 'NAME' |