diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-06-09 13:42:43 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-06-09 13:42:43 +1200 |
commit | b7b357528c3d3867f1a29400de3a11f2d976e60d (patch) | |
tree | 2312713e8c01d8532e2f5f12b31e97a3688eba15 /test/test_console_help.py | |
parent | a63240a8483c0bbc52218380c0c70da46a29f75b (diff) | |
download | mitmproxy-b7b357528c3d3867f1a29400de3a11f2d976e60d.tar.gz mitmproxy-b7b357528c3d3867f1a29400de3a11f2d976e60d.tar.bz2 mitmproxy-b7b357528c3d3867f1a29400de3a11f2d976e60d.zip |
Port mitmproxy test suite entirely to nose.
Diffstat (limited to 'test/test_console_help.py')
-rw-r--r-- | test/test_console_help.py | 8 |
1 files changed, 1 insertions, 7 deletions
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() -] |