summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-01-15 23:44:44 -0700
committerkotfu <kotfu@kotfu.net>2018-01-15 23:44:44 -0700
commit60890fa5f0d6650814384fc8db19875eaff08143 (patch)
tree9e057f7efd2fa9fe6f4cecc234640b496a95c1dc /tests
parentcb7269f21cafb58053be06f2e68df142ca969d73 (diff)
downloadcmd2-git-60890fa5f0d6650814384fc8db19875eaff08143.tar.gz
tweak unit tests for history #252
Diffstat (limited to 'tests')
-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 280df5ab..559a2258 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -340,7 +340,7 @@ def test_history_edit(base_app, monkeypatch):
# Run help command just so we have a command in history
run_cmd(base_app, 'help')
- run_cmd(base_app, 'edit')
+ run_cmd(base_app, 'history -e 1')
# We have an editor, so should expect a system call
m.assert_called_once()