diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-02-14 16:37:20 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-02-14 16:37:20 +0100 |
commit | ced78ba1075289d0df716b1541a91929d7c91de9 (patch) | |
tree | 796235d2725735bb4f94363ae9eba35c843e9642 /test/test_console_help.py | |
parent | 885e619a7e5a1a0263c0b751d8ef924522978b56 (diff) | |
parent | ea0ba6d143106eafaf6bbc15ee60e0fe82c049c0 (diff) | |
download | mitmproxy-ced78ba1075289d0df716b1541a91929d7c91de9.tar.gz mitmproxy-ced78ba1075289d0df716b1541a91929d7c91de9.tar.bz2 mitmproxy-ced78ba1075289d0df716b1541a91929d7c91de9.zip |
Merge branch 'master' of https://github.com/mitmproxy/mitmproxy
Diffstat (limited to 'test/test_console_help.py')
-rw-r--r-- | test/test_console_help.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/test_console_help.py b/test/test_console_help.py index 32d94247..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): - master = DummyMaster() h = help.HelpView([1, 2, 3]) assert not h.keypress((0, 0), "q") assert not h.keypress((0, 0), "?") |