def testHome(client): rv = client.get(flask.url_for('example.home')) assert rv.status_code == 200 assert "Example page" in rv.data
def testHome(client): rv = client.get(flask.url_for('home')) assert rv.status_code == 200 assert "Hello world!" in rv.data