diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-03-22 17:23:27 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-03-22 17:23:27 +1300 |
commit | a1c21d9774a1b0e77bcb8116cad20973b2561c28 (patch) | |
tree | 7285f782eb917eceea3f9b22636acbadd7445689 | |
parent | 08bb07653306ed0f84932391732391227ee07ba2 (diff) | |
download | mitmproxy-a1c21d9774a1b0e77bcb8116cad20973b2561c28.tar.gz mitmproxy-a1c21d9774a1b0e77bcb8116cad20973b2561c28.tar.bz2 mitmproxy-a1c21d9774a1b0e77bcb8116cad20973b2561c28.zip |
Fix unit tests
-rw-r--r-- | test/test_console_help.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_console_help.py b/test/test_console_help.py index a410bd2e..24517439 100644 --- a/test/test_console_help.py +++ b/test/test_console_help.py @@ -19,12 +19,12 @@ class DummyMaster: class TestHelp: def test_helptext(self): - h = help.HelpView(None, "foo", None) + h = help.HelpView(None) assert h.helptext() def test_keypress(self): master = DummyMaster() - h = help.HelpView(master, "foo", [1, 2, 3]) + h = help.HelpView([1, 2, 3]) assert not h.keypress((0, 0), "q") assert not h.keypress((0, 0), "?") assert h.keypress((0, 0), "o") == "o" |