We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1fb8f7 commit fb9fe36Copy full SHA for fb9fe36
tests/test_history.py
@@ -237,9 +237,8 @@ def test_history_with_span_index_error(base_app):
237
run_cmd(base_app, 'help')
238
run_cmd(base_app, 'help history')
239
run_cmd(base_app, '!ls -hal :')
240
-
241
- out, err = run_cmd(base_app, 'history "hal :"')
242
- assert "ValueError" in err[0]
+ with pytest.raises(ValueError):
+ base_app.onecmd('history "hal :"')
243
244
def test_history_output_file(base_app):
245
0 commit comments