From 9465416823720f928ce4c269312e0c06fcfe6f6e Mon Sep 17 00:00:00 2001 From: Jonathan LaCour Date: Thu, 15 Mar 2012 13:52:59 -0700 Subject: [PATCH] Fixing a bad assumption in the redirect testing that conflicts with the debug middleware. --- pecan/tests/test_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pecan/tests/test_base.py b/pecan/tests/test_base.py index 17cdbe3..3911d36 100644 --- a/pecan/tests/test_base.py +++ b/pecan/tests/test_base.py @@ -743,7 +743,7 @@ class TestRedirect(unittest.TestCase): def testing(self): return 'it worked!' - return TestApp(make_app(RootController(), debug=True)) + return TestApp(make_app(RootController(), debug=False)) def test_index(self): r = self.app_.get('/')