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