13 lines
319 B
Python
13 lines
319 B
Python
def test_health_endpoint(client):
|
|
response = client.get("/health")
|
|
|
|
assert response.status_code == 200
|
|
assert response.get_json() == {"status": "ok"}
|
|
|
|
|
|
def test_home_page_loads(client):
|
|
response = client.get("/")
|
|
|
|
assert response.status_code == 200
|
|
assert b"Welcome to Steady" in response.data
|
|
|