diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-06-07 08:50:06 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-06-07 08:50:06 +1200 |
commit | 049d3d2b45d42245a305bd0bd3b5164a44dc7ba2 (patch) | |
tree | 5d55204f758ef2410b2ea37cca91130f4dcce89d /test | |
parent | d171e13fd376225695b45a02925952fe7c0aeefc (diff) | |
download | mitmproxy-049d3d2b45d42245a305bd0bd3b5164a44dc7ba2.tar.gz mitmproxy-049d3d2b45d42245a305bd0bd3b5164a44dc7ba2.tar.bz2 mitmproxy-049d3d2b45d42245a305bd0bd3b5164a44dc7ba2.zip |
lippathod/app.py -> libpathod/pathod.py
Diffstat (limited to 'test')
-rw-r--r-- | test/test_pathod.py (renamed from test/test_app.py) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_app.py b/test/test_pathod.py index db030f9a..bb78e094 100644 --- a/test/test_app.py +++ b/test/test_pathod.py @@ -1,10 +1,10 @@ import libpry -from libpathod import app +from libpathod import pathod from tornado import httpserver class uApplication(libpry.AutoTree): def test_anchors(self): - a = app.PathodApp(staticdir=None) + a = pathod.PathodApp(staticdir=None) a.add_anchor("/foo", "200") assert a.get_anchors() == [("/foo", "200")] a.add_anchor("/bar", "400") @@ -15,7 +15,7 @@ class uApplication(libpry.AutoTree): assert a.get_anchors() == [("/foo", "200")] def test_logs(self): - a = app.PathodApp(staticdir=None) + a = pathod.PathodApp(staticdir=None) a.LOGBUF = 3 a.add_log({}) assert a.log[0]["id"] == 0 @@ -36,7 +36,7 @@ class uPages(libpry.AutoTree): def dummy_page(self, path): # A hideous, hideous kludge, but Tornado seems to have no more sensible # way to do this. - a = app.PathodApp(staticdir=None) + a = pathod.PathodApp(staticdir=None) for h in a.handlers[0][1]: if h.regex.match(path): klass = h.handler_class |