diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-12-10 16:21:49 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-12-10 16:21:49 -0500 |
commit | 1cb8de929b8700263f84753c739c49065898c081 (patch) | |
tree | 141964ab89b54679d1d2c3be22c0f535f653587f /tests | |
parent | bc99c90b4b4a8fd667b0ad77c9442d1393611f5f (diff) | |
download | cmd2-git-1cb8de929b8700263f84753c739c49065898c081.tar.gz |
Increased code coverage in argparse_completer.py back to 100%
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_argparse_completer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_argparse_completer.py b/tests/test_argparse_completer.py index b904a6ac..97c75ef3 100644 --- a/tests/test_argparse_completer.py +++ b/tests/test_argparse_completer.py @@ -535,11 +535,11 @@ def test_autocomp_blank_token(ac_app): def test_completion_items(ac_app, num_aliases, show_description): # Create aliases for i in range(0, num_aliases): - run_cmd(ac_app, 'alias create fake{} help'.format(i)) + run_cmd(ac_app, 'alias create fake_alias{} help'.format(i)) assert len(ac_app.aliases) == num_aliases - text = 'fake' + text = 'fake_alias' line = 'alias list {}'.format(text) endidx = len(line) begidx = endidx - len(text) |