diff --git a/intervention/tests/test_workflow.py b/intervention/tests/test_workflow.py index f6f56e34..f4484c6d 100644 --- a/intervention/tests/test_workflow.py +++ b/intervention/tests/test_workflow.py @@ -12,7 +12,7 @@ from django.urls import reverse from compensation.models import Payment, EcoAccountDeduction from intervention.models import Intervention -from konova.settings import DEFAULT_GROUP, ETS_GROUP, ZB_GROUP +from konova.settings import ETS_GROUP, ZB_GROUP from konova.tests.test_views import BaseWorkflowTestCase from user.models import UserActionLogEntry, UserAction @@ -26,7 +26,11 @@ class InterventionWorkflowTestCase(BaseWorkflowTestCase): def setUpTestData(cls): super().setUpTestData() - cls.intervention.share_with(cls.superuser) + def setUp(self) -> None: + super().setUp() + # Recreate a new (bare minimum) intervention before each test + self.intervention = self.create_dummy_intervention() + self.intervention.share_with(self.superuser) def test_new(self): """