diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 10:13:12 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 10:13:12 -0400 |
commit | ea1716ad0c43ce0c2c354836dbc36e4ae419afb6 (patch) | |
tree | 901fcd355c5aa4912f12d6b09127ae0c3a1dc7d8 /tests | |
parent | a1be014e621bd1b9407cfb1eeefdd95ff67dd815 (diff) | |
download | cmd2-git-ea1716ad0c43ce0c2c354836dbc36e4ae419afb6.tar.gz |
Fix unit test failures I introduced in last commit
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cmd2.py | 2 | ||||
-rw-r--r-- | tests/test_run_pyscript.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index a8278351..77542d76 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -288,7 +288,7 @@ def test_run_script(base_app, request): def test_load_deprecated(base_app): """Delete this when load alias is removed""" _, err = run_cmd(base_app, "load fake") - assert "load has been renamed and will be removed" in err[0] + assert "load has been renamed and will be removed" in err[-1] def test_run_script_with_empty_args(base_app): out, err = run_cmd(base_app, 'run_script') diff --git a/tests/test_run_pyscript.py b/tests/test_run_pyscript.py index c8b44271..9eb33b31 100644 --- a/tests/test_run_pyscript.py +++ b/tests/test_run_pyscript.py @@ -88,4 +88,4 @@ def test_run_pyscript_stop(base_app, request): def test_pyscript_deprecated(base_app): """Delete this when pyscript alias is removed""" _, err = run_cmd(base_app, "pyscript fake") - assert "pyscript has been renamed and will be removed" in err[0] + assert "pyscript has been renamed and will be removed" in err[-1] |