diff options
Diffstat (limited to 'archaeological_files/tests.py')
-rw-r--r-- | archaeological_files/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_files/tests.py b/archaeological_files/tests.py index 271686de3..8e99f59b8 100644 --- a/archaeological_files/tests.py +++ b/archaeological_files/tests.py @@ -52,7 +52,7 @@ from archaeological_operations.tests import OperationInitTest, FileInit """ def create_administrativact(user, fle): act_type, created = ActType.objects.get_or_create( - txt_idx="act_type_F", intented_to="F" + txt_idx="act_type_F", intented_to_file=True ) dct = { "history_modifier": user, @@ -1110,7 +1110,7 @@ class FileAdminActWizardCreationTest(WizardTest, OperationInitTest, TestCase): ) data = self.form_datas[0].form_datas data["selec"]["pk"] = self.file.pk - act = ActType.objects.filter(intented_to="F").all()[0].pk + act = ActType.objects.filter(intented_to_file=True).all()[0].pk data["administrativeact"]["act_type"] = act self.number = AdministrativeAct.objects.count() super().pre_wizard() |