def test_home(testapp): res = testapp.get("/") assert res.status_code == 200 assert b'

Home

' in res.body