aimingmed-ai/app/backend/tests/_test_ping.py
2025-04-13 18:07:36 +08:00

5 lines
188 B
Python

def test_ping(test_app):
response = test_app.get("/ping")
assert response.status_code == 200
assert response.json() == {"environment": "dev", "ping": "pong!", "testing": True}