diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-03 23:21:39 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-03 23:21:39 -0400 |
| commit | de0261325a91dfdbe1571135ce078a978a2aaad8 (patch) | |
| tree | a57ce89e0465aaa3ed2feb46aef359fe18c07071 /tests | |
| parent | df703af969219665b7d672025bf9b26f75a76285 (diff) | |
| parent | 1054dda76b87d9f7f77311d8d804c1017b668996 (diff) | |
| download | cmd2-git-de0261325a91dfdbe1571135ce078a978a2aaad8.tar.gz | |
Merge branch 'master' into 2.0
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test_cmd2.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 3b240e4e..be6f52d1 100755 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -2247,7 +2247,7 @@ def test_disable_and_enable_category(disable_commands_app): # Make sure neither function completes text = '' - line = 'has_helper_funcs' + line = 'has_helper_funcs {}'.format(text) endidx = len(line) begidx = endidx - len(text) @@ -2255,7 +2255,7 @@ def test_disable_and_enable_category(disable_commands_app): assert first_match is None text = '' - line = 'has_no_helper_funcs' + line = 'has_no_helper_funcs {}'.format(text) endidx = len(line) begidx = endidx - len(text) @@ -2291,7 +2291,7 @@ def test_disable_and_enable_category(disable_commands_app): # has_helper_funcs should complete now text = '' - line = 'has_helper_funcs' + line = 'has_helper_funcs {}'.format(text) endidx = len(line) begidx = endidx - len(text) @@ -2300,7 +2300,7 @@ def test_disable_and_enable_category(disable_commands_app): # has_no_helper_funcs had no completer originally, so there should be no results text = '' - line = 'has_no_helper_funcs' + line = 'has_no_helper_funcs {}'.format(text) endidx = len(line) begidx = endidx - len(text) |
