TP_JO2024/discipline/tests/test_delDiscipline.py

6 lines
177 B
Python
Raw Normal View History

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