summaryrefslogtreecommitdiff
path: root/cliapp/app_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'cliapp/app_tests.py')
-rw-r--r--cliapp/app_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cliapp/app_tests.py b/cliapp/app_tests.py
index fde0916..6e87bbd 100644
--- a/cliapp/app_tests.py
+++ b/cliapp/app_tests.py
@@ -362,6 +362,7 @@ class ExtensibleSubcommandTests(unittest.TestCase):
self.assertEqual(self.app.subcommands, {})
def test_adds_subcommand(self):
- help_callback = lambda args: None
+ def help_callback(arg):
+ pass
self.app.add_subcommand('foo', help_callback)
self.assertEqual(self.app.subcommands, {'foo': help_callback})