aimingmed-ai/app/backend/tests/test_ping.py
2025-04-14 17:22:02 +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}