diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-09-17 21:26:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-17 21:26:44 -0400 |
commit | 1176c0cc99975044d2fcec88b3f0903b8453194f (patch) | |
tree | af2c2be429ebf31183826fceaafe23581a38a3b4 /tests/test_completion.py | |
parent | 60ab11c3166a2a76bf67774c67b583d7d30fe5be (diff) | |
parent | 17eefdeb934525772885ff31f80a0d5a016a5b52 (diff) | |
download | cmd2-git-1176c0cc99975044d2fcec88b3f0903b8453194f.tar.gz |
Merge pull request #776 from python-cmd2/required_subcmd
Missing subcommand no longer prints all help text
Diffstat (limited to 'tests/test_completion.py')
-rwxr-xr-x | tests/test_completion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py index fb0d74e0..c7d9bd21 100755 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -1179,7 +1179,7 @@ def test_cmd2_help_subcommand_completion_with_flags_before_command(scu_app): first_match = complete_tester(text, line, begidx, endidx, scu_app) assert first_match is not None and scu_app.completion_matches == ['bar', 'foo', 'sport'] -def test_complete_help_subcommand_with_blank_command(scu_app): +def test_complete_help_subcommands_with_blank_command(scu_app): text = '' line = 'help "" {}'.format(text) endidx = len(line) |