summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-12-12 16:49:44 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-12-12 16:49:44 +0100
commite26b586bdd9391a263b01b03f413fb7564867c3e (patch)
tree87b90324bb4ebd0a9d3e054ad47c38b1308e310e
parentac0a2fbaa350131fd4bd4ac55019d7f44c28ede9 (diff)
downloadIshtar-e26b586bdd9391a263b01b03f413fb7564867c3e.tar.bz2
Ishtar-e26b586bdd9391a263b01b03f413fb7564867c3e.zip
✅ fix treatment test (state -> status)
-rw-r--r--archaeological_warehouse/tests.py4
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)