File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -224,15 +224,15 @@ def test_history_edit(base_app, monkeypatch):
224224 # going to call it due to the mock
225225 base_app .editor = 'fooedit'
226226
227- # Mock out the os.system call so we don't actually open an editor
227+ # Mock out the Popen call so we don't actually open an editor
228228 m = mock .MagicMock (name = 'Popen' )
229229 monkeypatch .setattr ("subprocess.Popen" , m )
230230
231231 # Run help command just so we have a command in history
232232 run_cmd (base_app , 'help' )
233233 run_cmd (base_app , 'history -e 1' )
234234
235- # We have an editor, so should expect a system call
235+ # We have an editor, so should expect a Popen call
236236 m .assert_called_once ()
237237
238238def test_history_run_all_commands (base_app ):
You can’t perform that action at this time.
0 commit comments