fix tests
This commit is contained in:
parent
dd4a7edcfd
commit
502e7ed2ca
48 changed files with 131 additions and 134 deletions
|
|
@ -59,6 +59,7 @@ class TestHello(utils.CliTestCase):
|
|||
print_unicode_mock.return_value = "Hello"
|
||||
|
||||
expect = """Usage: %s moshimoshi [options]
|
||||
(Specify the --help global option for a list of other help options)
|
||||
|
||||
%s: error: This command takes no arguments
|
||||
""" % (self.progname, self.progname)
|
||||
|
|
@ -102,6 +103,7 @@ class TestHello(utils.CliTestCase):
|
|||
self.assert_help(
|
||||
handle_moshimoshi,
|
||||
"""Usage: %s moshimoshi [options]
|
||||
(Specify the --help global option for a list of other help options)
|
||||
|
||||
Options:
|
||||
-h, --help show this help message and exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue