diff options
Diffstat (limited to 'tests/test_history.py')
-rwxr-xr-x | tests/test_history.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_history.py b/tests/test_history.py index 57bd0d7b..6f1336a8 100755 --- a/tests/test_history.py +++ b/tests/test_history.py @@ -34,7 +34,10 @@ except ImportError: # readline tests # def test_readline_remove_history_item(base_app): - from cmd2.rl_utils import readline + from cmd2.rl_utils import ( + readline, + ) + readline.clear_history() assert readline.get_current_history_length() == 0 readline.add_history('this is a test') |