aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_console_help.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-02-14 14:58:36 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-02-14 14:58:36 +0100
commit4767474d4b867f5a85c7ea9ad5b8140a7bfa8b68 (patch)
tree8214328208b2d3973c5615adc05b7a412a0e445d /test/test_console_help.py
parent6746cf5f546bedd0486edd23d5253759920e1448 (diff)
downloadmitmproxy-4767474d4b867f5a85c7ea9ad5b8140a7bfa8b68.tar.gz
mitmproxy-4767474d4b867f5a85c7ea9ad5b8140a7bfa8b68.tar.bz2
mitmproxy-4767474d4b867f5a85c7ea9ad5b8140a7bfa8b68.zip
remove noop code
Diffstat (limited to 'test/test_console_help.py')
-rw-r--r--test/test_console_help.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/test_console_help.py b/test/test_console_help.py
index 42862af7..f1a71faf 100644
--- a/test/test_console_help.py
+++ b/test/test_console_help.py
@@ -6,21 +6,6 @@ if os.name == "nt":
import libmproxy.console.help as help
-class DummyLoop:
-
- def __init__(self):
- self.widget = None
-
-
-class DummyMaster:
-
- def __init__(self):
- self.loop = DummyLoop()
-
- def make_view(self):
- pass
-
-
class TestHelp:
def test_helptext(self):
@@ -28,7 +13,6 @@ class TestHelp:
assert h.helptext()
def test_keypress(self):
- DummyMaster()
h = help.HelpView([1, 2, 3])
assert not h.keypress((0, 0), "q")
assert not h.keypress((0, 0), "?")