diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-08 12:45:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-08 12:45:54 -0500 |
commit | ec5539fa8c0d2f0b783869e73cacde1af32465b0 (patch) | |
tree | 248b8a427d82aa68db583eb97a92e7e84b49b913 /tests/test_cmd2.py | |
parent | 4a6bcefbc72018c90534139c706c2b9d3d327810 (diff) | |
parent | cc0e901183c631fb54a968ba9fcdb5f2dda52207 (diff) | |
download | cmd2-git-ec5539fa8c0d2f0b783869e73cacde1af32465b0.tar.gz |
Merge pull request #39 from python-cmd2/parsing_experiments
Parsing improvements for commands using the options decorator
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 9311401d..aa9a76f2 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -206,7 +206,7 @@ def test_base_cmdenvironment(base_app): # Settable parameters can be listed in any order, so need to validate carefully using unordered sets settable_params = {'continuation_prompt', 'default_file_name', 'prompt', 'abbrev', 'quiet', 'case_insensitive', - 'colors', 'echo', 'timing', 'editor', 'feedback_to_output', 'debug'} + 'colors', 'echo', 'timing', 'editor', 'feedback_to_output', 'debug', 'autorun_on_edit'} out_params = set(out[2].split("Settable parameters: ")[1].split()) assert settable_params == out_params @@ -346,9 +346,9 @@ def test_pipe_to_shell(base_app): out = run_cmd(base_app, 'help help | wc') if sys.platform == "win32": - expected = normalize("1 11 74") + expected = normalize("1 11 71") else: - expected = normalize("1 11 66") + expected = normalize("1 11 70") assert out[0].strip() == expected[0].strip() |