diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-17 19:40:24 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-17 19:46:08 +0100 |
commit | 0fb6a394915591ac828c364bffe40e01419e4c5e (patch) | |
tree | 50be84a8e66f5c59fe6262b7626f70e39635e0df /archaeological_operations/tests.py | |
parent | 24ce5d46977ed8b8b61acaf3cf3fbbf9e51c6fb0 (diff) | |
download | Ishtar-0fb6a394915591ac828c364bffe40e01419e4c5e.tar.bz2 Ishtar-0fb6a394915591ac828c364bffe40e01419e4c5e.zip |
✨ administrative act: intented to is now many (refs #6210)
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r-- | archaeological_operations/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index f48048eec..57e71b256 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -4053,7 +4053,7 @@ class LabelTest(TestCase, OperationInitTest): def create_administrativact(user, operation): act_type, created = models.ActType.objects.get_or_create( - txt_idx="act_type_O", intented_to="O" + txt_idx="act_type_O", intented_to_operation=True ) dct = { "history_modifier": user, @@ -4511,7 +4511,7 @@ class OperationAdminActWizardCreationTest(WizardTest, OperationInitTest, TestCas data = self.form_datas[0].form_datas data["selec-operation_administrativeactop"]["pk"] = ope.pk - act = models.ActType.objects.filter(intented_to="O").all()[0].pk + act = models.ActType.objects.filter(intented_to_operation=True).all()[0].pk data["administrativeact-operation_administrativeactop"]["act_type"] = act super(OperationAdminActWizardCreationTest, self).pre_wizard() |