diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-20 20:41:41 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-03-20 20:41:41 -0400 |
commit | d1fb8f7437629a83c35441fb8485a03f5accc4d6 (patch) | |
tree | 8376a9951b98dc1953fde749972954ff43cf94d7 /tests/test_history.py | |
parent | 2aa7d8dd25f8bbc66a57c6f800c1af935fe601a7 (diff) | |
download | cmd2-git-d1fb8f7437629a83c35441fb8485a03f5accc4d6.tar.gz |
Fixed unit test
Diffstat (limited to 'tests/test_history.py')
-rw-r--r-- | tests/test_history.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_history.py b/tests/test_history.py index 058386a3..36794d0c 100644 --- a/tests/test_history.py +++ b/tests/test_history.py @@ -237,9 +237,9 @@ def test_history_with_span_index_error(base_app): run_cmd(base_app, 'help') run_cmd(base_app, 'help history') run_cmd(base_app, '!ls -hal :') - with pytest.raises(ValueError): - out, err = run_cmd(base_app, 'history "hal :"') - assert "ValueError" in err[0] + + out, err = run_cmd(base_app, 'history "hal :"') + assert "ValueError" in err[0] def test_history_output_file(base_app): run_cmd(base_app, 'help') |