diff options
Diffstat (limited to 'archaeological_warehouse/tests.py')
| -rw-r--r-- | archaeological_warehouse/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py index 20037909d..ba9c081b6 100644 --- a/archaeological_warehouse/tests.py +++ b/archaeological_warehouse/tests.py @@ -673,13 +673,13 @@ class ContainerQATest(FindInit, TestCase): def init_treatment(find_0): # create a first packaging treatment - treat_state = TreatmentState.get_completed_state() + treat_status = TreatmentStatus.get_completed_state() t = Treatment.objects.create( container=self.container_3, year=2024, start_date=datetime.date(2024, 2, 29), location=self.main_warehouse, - treatment_state=treat_state + treatment_status=treat_status ) treat_type = TreatmentType.objects.get(txt_idx="packaging") t.treatment_types.add(treat_type) |
