mirror of
http://88.130.71.182:3000/BlitTech/deals24togo_be.git
synced 2026-06-12 23:33:21 +00:00
Initial commit
This commit is contained in:
13
tests/test_health.py
Normal file
13
tests/test_health.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""Basic smoke tests."""
|
||||
|
||||
|
||||
def test_health_check(client):
|
||||
response = client.get("/health")
|
||||
assert response.status_code == 200
|
||||
data = response.json()
|
||||
assert data["status"] == "healthy"
|
||||
|
||||
|
||||
def test_docs_available_in_debug(client):
|
||||
response = client.get("/docs")
|
||||
assert response.status_code == 200
|
||||
Reference in New Issue
Block a user