aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-08-05 09:17:38 +0800
committerMatthew Shao <me@matshao.com>2017-08-05 09:17:38 +0800
commitcd222ff4f92c9018813f55a54694e76dba72aa6d (patch)
tree76e2fcd4850cf66e39b023dd8caa9feec9c424e3 /test
parentca2126b385d08d636b87432d4224389f91a47075 (diff)
downloadmitmproxy-cd222ff4f92c9018813f55a54694e76dba72aa6d.tar.gz
mitmproxy-cd222ff4f92c9018813f55a54694e76dba72aa6d.tar.bz2
mitmproxy-cd222ff4f92c9018813f55a54694e76dba72aa6d.zip
Fix lint.
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/addons/test_view.py2
-rw-r--r--test/mitmproxy/tools/console/test_statusbar.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/test/mitmproxy/addons/test_view.py b/test/mitmproxy/addons/test_view.py
index a2e45e9b..1e0c3b55 100644
--- a/test/mitmproxy/addons/test_view.py
+++ b/test/mitmproxy/addons/test_view.py
@@ -555,7 +555,5 @@ def test_configure():
tctx.configure(v, view_order_reversed=True)
- console_addon = consoleaddons.ConsoleAddon(tctx.master)
- tctx.configure(console_addon)
tctx.configure(v, console_focus_follow=True)
assert v.focus_follow
diff --git a/test/mitmproxy/tools/console/test_statusbar.py b/test/mitmproxy/tools/console/test_statusbar.py
index 0cb36c45..b131a5d3 100644
--- a/test/mitmproxy/tools/console/test_statusbar.py
+++ b/test/mitmproxy/tools/console/test_statusbar.py
@@ -1,5 +1,5 @@
from mitmproxy import options
-from mitmproxy.tools.console import statusbar, master, consoleaddons
+from mitmproxy.tools.console import statusbar, master
def test_statusbar(monkeypatch):