From b7b357528c3d3867f1a29400de3a11f2d976e60d Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 9 Jun 2012 13:42:43 +1200 Subject: Port mitmproxy test suite entirely to nose. --- test/test_console_help.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'test/test_console_help.py') diff --git a/test/test_console_help.py b/test/test_console_help.py index e747635f..c9ef7228 100644 --- a/test/test_console_help.py +++ b/test/test_console_help.py @@ -1,5 +1,4 @@ import sys -import libpry import libmproxy.console.help as help from libmproxy import utils, flow, encoding @@ -8,7 +7,7 @@ class DummyMaster: pass -class uHelp(libpry.AutoTree): +class TestHelp: def test_helptext(self): h = help.HelpView(None, "foo", None) assert h.helptext() @@ -18,8 +17,3 @@ class uHelp(libpry.AutoTree): assert not h.keypress((0, 0), "q") assert not h.keypress((0, 0), "?") assert h.keypress((0, 0), "o") == "o" - - -tests = [ - uHelp() -] -- cgit v1.2.3