TP_JO2024/athlete/tests/test_ping.py
2024-03-27 11:18:57 +01:00

5 lines
128 B
Python

import pytest
def test_ping(client):
response = client.get("/ping")
assert b"{\"message\":\"pong\"}\n" in response.data