From 2177eb9e35a252f20ea5bc2d5a9abee29b7601ff Mon Sep 17 00:00:00 2001 From: Henrique Date: Wed, 27 Nov 2019 09:27:38 -0500 Subject: Fixed small issue --- test/mitmproxy/tools/console/test_commander.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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: -- cgit v1.2.3