1 2 3 4
def test_home(testapp): res = testapp.get("/") assert res.status_code == 200 assert b'<h1>Home</h1>' in res.body