def test_error_page(self): request.path = "hello/world" self.assertTrue("NOT FOUND" in error404("oops"))
def test_error_page(self): request.path = 'hello/world' self.assertTrue("NOT FOUND" in error404('oops'))