Beispiel #1
0
 def test_notfound(self):
     request = testing.DummyRequest()
     m = MainViews(request)
     response = m.notfound()
     self.assertEqual(response['title'], '404 - Page not found')