diff --git a/tests/unit/test_delete_consultation.py b/tests/unit/test_delete_consultation.py index 7cc9cea1..417f3538 100644 --- a/tests/unit/test_delete_consultation.py +++ b/tests/unit/test_delete_consultation.py @@ -1,7 +1,7 @@ import pytest -from consultation_analyser.consultations import models from consultation_analyser import factories +from consultation_analyser.consultations import models @pytest.mark.django_db @@ -12,7 +12,6 @@ def test_delete_consultation(): respondent = factories.RespondentFactory(consultation=consultation) factories.AnswerFactory(question_part=question_part, respondent=respondent) - assert models.Consultation.objects.count() == 1 assert models.Respondent.objects.count() >= 1 assert models.Question.objects.count() >= 1 @@ -25,4 +24,3 @@ def test_delete_consultation(): assert models.Respondent.objects.count() == 0 assert models.QuestionPart.objects.count() == 0 assert models.Answer.objects.count() == 0 -