summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-06-15 10:13:12 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-06-15 10:13:12 -0400
commitea1716ad0c43ce0c2c354836dbc36e4ae419afb6 (patch)
tree901fcd355c5aa4912f12d6b09127ae0c3a1dc7d8 /tests/test_cmd2.py
parenta1be014e621bd1b9407cfb1eeefdd95ff67dd815 (diff)
downloadcmd2-git-ea1716ad0c43ce0c2c354836dbc36e4ae419afb6.tar.gz
Fix unit test failures I introduced in last commit
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r--tests/test_cmd2.py2
1 files changed, 1 insertions, 1 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')