TP_JO2024/medaille/tests/test_ping_medaille.py

4 lines
123 B
Python
Raw Permalink Normal View History

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