def test_homepage_feed(self): tester = app.test_client(self) response = tester.get("/feed") self.assertEqual(response.content_type, "text/html; charset=utf-8")
def test_homepage(self): tester = app.test_client(self) response = tester.get("/home") statuscode = response.status_code self.assertEqual(statuscode, 200)
def test_feed(self): tester = app.test_client(self) response = tester.get("/feed") statuscode = response.status_code self.assertEqual(statuscode, 200)