diff options
-rw-r--r-- | test/mitmproxy/tools/console/test_commander.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/tools/console/test_commander.py b/test/mitmproxy/tools/console/test_commander.py index aa859092..839f81e5 100644 --- a/test/mitmproxy/tools/console/test_commander.py +++ b/test/mitmproxy/tools/console/test_commander.py @@ -17,12 +17,12 @@ def tctx(tmpdir): tctx = taddons.context(options=opts) ch = command_history.CommandHistory() tctx.master.addons.add(ch) - ch.configure([]) + ch.configure('command_history') yield tctx # This runs after each test - ch.cleanup() + ch.clear_history() class TestListCompleter: |