From a1c21d9774a1b0e77bcb8116cad20973b2561c28 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 22 Mar 2015 17:23:27 +1300 Subject: [PATCH] Fix unit tests --- test/test_console_help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_console_help.py b/test/test_console_help.py index a410bd2e5..24517439f 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"