diff options
author | Maximilian Hils <git@maximilianhils.com> | 2019-11-19 21:11:49 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2019-11-19 21:11:49 +0100 |
commit | fa100b9d16e3c521460801f2c3d6d3cc656abe75 (patch) | |
tree | 0eef8d8dd4e03f0c2a28d2da118d6be8a18b424e /test | |
parent | 228e1c74c20c8db13d2cf5489321cd2975c6c56f (diff) | |
download | mitmproxy-fa100b9d16e3c521460801f2c3d6d3cc656abe75.tar.gz mitmproxy-fa100b9d16e3c521460801f2c3d6d3cc656abe75.tar.bz2 mitmproxy-fa100b9d16e3c521460801f2c3d6d3cc656abe75.zip |
lint!
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/tools/console/test_commander.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/mitmproxy/tools/console/test_commander.py b/test/mitmproxy/tools/console/test_commander.py index 8fc678fb..a77be043 100644 --- a/test/mitmproxy/tools/console/test_commander.py +++ b/test/mitmproxy/tools/console/test_commander.py @@ -1,7 +1,8 @@ -from mitmproxy.tools.console.commander import commander -from mitmproxy.test import taddons import pytest +from mitmproxy.test import taddons +from mitmproxy.tools.console.commander import commander + class TestListCompleter: def test_cycle(self): @@ -265,6 +266,7 @@ class TestCommandBuffer: ('commander_hint', 'option '), ('commander_hint', 'value '), ] + def test_render(self): with taddons.context() as tctx: cb = commander.CommandBuffer(tctx.master) @@ -288,4 +290,4 @@ class TestCommandBuffer: ('text', ' '), ('commander_hint', 'option '), ('commander_hint', 'value '), - ]
\ No newline at end of file + ] |