TP_JO2024/medaille/tests/test_delMedaille.py

6 lines
175 B
Python
Raw Normal View History

2024-03-27 15:20:10 +01:00
def test_delMedaille(client):
response = client.delete("/1")
assert response.status_code == 200
response = client.get("/1")
assert response.status_code == 404