Skip to content

Commit 2f7a4ba

Browse files
committed
Fixed comments
1 parent 40b03a5 commit 2f7a4ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_history.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

238238
def test_history_run_all_commands(base_app):

0 commit comments

Comments
 (0)