def test_health(): with app.test_client() as c: response = c.get("/health") assert response.status_code == 200 assert response.get_data().decode() == "OK"
def test_client(app): with app.test_client() as c: yield c