fix tests

This commit is contained in:
Tomas Kopecek 2019-11-13 15:03:23 +01:00
parent dd4a7edcfd
commit 502e7ed2ca
48 changed files with 131 additions and 134 deletions

View file

@ -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