TP_JO2024/athlete/tests/test_delAthlete.py

6 lines
174 B
Python
Raw Permalink Normal View History

2024-03-27 14:17:05 +01:00
def test_delAthlete(client):
response = client.delete("/1")
assert response.status_code == 200
response = client.get("/1")
assert response.status_code == 404