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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 6f169ffc..6e05127f 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -209,7 +209,7 @@ def test_base_save(base_app, capsys):
run_cmd(base_app, 'help save')
run_cmd(base_app, 'save * {}'.format(filename))
out, err = capsys.readouterr()
- assert out == 'Saved to deleteme.txt\n'
+ assert out == 'Saved to {}\n'.format(filename)
with open(filename) as f:
content = [line.strip() for line in f.readlines()]