TP_JO2024/discipline/tests/test_ping_discipline.py

4 lines
125 B
Python
Raw Permalink Normal View History

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