diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-09-24 19:49:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 19:49:10 -0400 |
commit | 87ec2820929e4757af58e166896169b41459a08c (patch) | |
tree | 2c5897da5eb21389c8368fad2ebc5c611f1b225d /tests/test_cmd2.py | |
parent | a1d64f2a12295c24e983f5ce137e0810b80831ad (diff) | |
parent | 0269c6c4b3aed822aadef08f4c28865db58055ca (diff) | |
download | cmd2-git-87ec2820929e4757af58e166896169b41459a08c.tar.gz |
Merge branch 'master' into video_animation
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 4b0687c9..7a8a52a0 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -46,6 +46,11 @@ def test_base_help_verbose(base_app): expected = normalize(BASE_HELP_VERBOSE) assert out == expected + # Make sure :param type lines are filtered out of help summary + help_doc = base_app.do_help.__func__.__doc__ + help_doc += "\n:param fake param" + base_app.do_help.__func__.__doc__ = help_doc + out = run_cmd(base_app, 'help --verbose') assert out == expected |