TP_JO2024/medaille/tests/test_ping_medaille.py

4 lines
123 B
Python
Raw Normal View History

2024-03-27 14:20:10 +00:00
def test_ping_medaille(client):
response = client.get("/ping")
assert b"{\"message\":\"pong\"}\n" in response.data