aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHenrique <typoon@gmail.com>2019-11-27 09:27:38 -0500
committerHenrique <typoon@gmail.com>2019-11-27 09:27:38 -0500
commit2177eb9e35a252f20ea5bc2d5a9abee29b7601ff (patch)
treee1f4de625ca886eed1bf90a2ccea9c4bdac48f0a /test
parent8eb173b44e6c9fe093e58428dc6dd8d812b80318 (diff)
downloadmitmproxy-2177eb9e35a252f20ea5bc2d5a9abee29b7601ff.tar.gz
mitmproxy-2177eb9e35a252f20ea5bc2d5a9abee29b7601ff.tar.bz2
mitmproxy-2177eb9e35a252f20ea5bc2d5a9abee29b7601ff.zip
Fixed small issue
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/tools/console/test_commander.py4
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: