Fixing a bad assumption in the redirect testing that conflicts with the

debug middleware.
This commit is contained in:
Jonathan LaCour
2012-03-15 13:52:59 -07:00
parent ee1688f6b3
commit 9465416823

View File

@@ -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('/')