summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-01-14 16:31:36 -0700
committerkotfu <kotfu@kotfu.net>2018-01-14 16:31:36 -0700
commitc69216bc7c314cf8bb7ff0717af0898098484628 (patch)
treec9a8b043bb8dd5092d5f1b77f06de052246240fd /tests
parentcab8a1626f61088c35fb3b4a0ce92b76bba0f1da (diff)
downloadcmd2-git-c69216bc7c314cf8bb7ff0717af0898098484628.tar.gz
Ensure help function works if use_argument_list = True
Diffstat (limited to 'tests')
-rw-r--r--tests/test_argparse.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_argparse.py b/tests/test_argparse.py
index 79075fe9..3ad1dc97 100644
--- a/tests/test_argparse.py
+++ b/tests/test_argparse.py
@@ -187,6 +187,6 @@ def test_arglist_attribute_and_decorator(arglist_app):
out = run_cmd(arglist_app, 'arglistwithdecorator "we should" get these')
assert out[0] == 'we should get these'
-#def test_arglist_help(arglist_app):
-# out = run_cmd(arglist_app, 'help arglist')
-# assert out[0] == 'True'
+def test_arglist_help(arglist_app):
+ out = run_cmd(arglist_app, 'help arglist')
+ assert out[0] == 'Print true if the arglist parameter is passed as a list.'