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 @@ -2190,8 +2190,8 @@ def test_read_input_passes_all_arguments_to_resolver(base_app):
21902190def test_read_input_history_is_passed_to_session (base_app , monkeypatch , mocker ):
21912191 mock_session_cls = mocker .patch ('cmd2.cmd2.PromptSession' )
21922192 mock_history_cls = mocker .patch ('cmd2.cmd2.InMemoryHistory' )
2193- read_command_mock = mocker .MagicMock (name = '_read_command_line ' , return_value = 'command' )
2194- monkeypatch .setattr ("cmd2.Cmd._read_command_line " , read_command_mock )
2193+ read_raw_mock = mocker .MagicMock (name = '_read_raw_input ' , return_value = 'command' )
2194+ monkeypatch .setattr ("cmd2.Cmd._read_raw_input " , read_raw_mock )
21952195
21962196 # Test with custom history first
21972197 my_history_list = ["help" , "help alias" , "help help" ]
You can’t perform that action at this time.
0 commit comments