diff options
author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-07-31 14:01:39 -0400 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-07-31 15:12:19 -0400 |
commit | 8896e385ebc963145677303bf8d6eb134dcf582c (patch) | |
tree | 1dce3d965f14f8b9dc27e5ba9b56e2b084014638 /tests/test_command.py | |
parent | ce0aa4609c76e60ea580afcfee1f8103931b0fee (diff) | |
download | cliff-tablib-8896e385ebc963145677303bf8d6eb134dcf582c.tar.gz |
Start cliff-tablib repo
This repo is a fork of the original cliff repo, with
the cliff parts removed and the rest changed to just
package the tablib-based formatters.
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
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' |