diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-21 00:16:43 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-21 00:16:43 -0400 |
commit | 4b91f6355795d7bd23ff46882fd7181a3a11a419 (patch) | |
tree | 31dcb1fd807e255a388e56b80dcf0279fd1899b0 /tests/test_run_pyscript.py | |
parent | 7991e5115780066a35c5fdb440c4a8e77907a163 (diff) | |
download | cmd2-git-4b91f6355795d7bd23ff46882fd7181a3a11a419.tar.gz |
Changed warning text
Diffstat (limited to 'tests/test_run_pyscript.py')
-rw-r--r-- | tests/test_run_pyscript.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_run_pyscript.py b/tests/test_run_pyscript.py index 374b2233..ded95225 100644 --- a/tests/test_run_pyscript.py +++ b/tests/test_run_pyscript.py @@ -50,7 +50,7 @@ def test_run_pyscript_with_non_python_file(base_app, request): test_dir = os.path.dirname(request.module.__file__) filename = os.path.join(test_dir, 'scripts', 'help.txt') out, err = run_cmd(base_app, 'run_pyscript {}'.format(filename)) - assert "does not appear to be a Python file" in err[0] + assert "does not have a .py extension" in err[0] def test_run_pyscript_with_exception(base_app, request): test_dir = os.path.dirname(request.module.__file__) |