TP_JO2024/discipline/tests/test_delDiscipline.py
2024-03-27 14:17:05 +01:00

6 lines
No EOL
177 B
Python

def test_delDiscipline(client):
response = client.delete("/1")
assert response.status_code == 200
response = client.get("/1")
assert response.status_code == 404