From 1431b36c4a226dc9b57a3334364a0c40162c388f Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 29 Apr 2012 21:15:02 +1200 Subject: Preview in web application. --- test/test_app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/test_app.py') 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() ] -- cgit v1.2.3