Skip to content

Commit 60890fa

Browse files
committed
tweak unit tests for history #252
1 parent cb7269f commit 60890fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def test_history_edit(base_app, monkeypatch):
340340

341341
# Run help command just so we have a command in history
342342
run_cmd(base_app, 'help')
343-
run_cmd(base_app, 'edit')
343+
run_cmd(base_app, 'history -e 1')
344344

345345
# We have an editor, so should expect a system call
346346
m.assert_called_once()

0 commit comments

Comments
 (0)