summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r--tests/test_cmd2.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index f388aaa5..1b31854a 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -614,8 +614,7 @@ def test_base_relative_load(base_app, request):
def test_relative_load_requires_an_argument(base_app, capsys):
run_cmd(base_app, '_relative_load')
out, err = capsys.readouterr()
- assert out == ''
- assert err.startswith('ERROR: _relative_load command requires a file path:\n')
+ assert 'Error: the following arguments' in err
assert base_app.cmdqueue == []