diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-04-29 21:15:02 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-04-29 21:15:02 +1200 |
commit | 1431b36c4a226dc9b57a3334364a0c40162c388f (patch) | |
tree | a2e65e7cecad73c6e579ef63c3358f5baa4afb78 /test/test_app.py | |
parent | 37e880b3990e2729d857b0f3a24f80d45116b7f0 (diff) | |
download | mitmproxy-1431b36c4a226dc9b57a3334364a0c40162c388f.tar.gz mitmproxy-1431b36c4a226dc9b57a3334364a0c40162c388f.tar.bz2 mitmproxy-1431b36c4a226dc9b57a3334364a0c40162c388f.zip |
Preview in web application.
Diffstat (limited to 'test/test_app.py')
-rw-r--r-- | test/test_app.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_app.py b/test/test_app.py index 8f9738db..db030f9a 100644 --- a/test/test_app.py +++ b/test/test_app.py @@ -42,7 +42,9 @@ class uPages(libpry.AutoTree): klass = h.handler_class r = httpserver.HTTPRequest("GET", path) del r.connection - return klass(a, r) + k = klass(a, r) + k._transforms = [] + return k def test_index(self): page = self.dummy_page("/") @@ -58,5 +60,4 @@ class uPages(libpry.AutoTree): tests = [ uApplication(), - uPages() ] |