diff options
| -rw-r--r-- | archaeological_operations/tests.py | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 53ecba049..647f0f86e 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -1524,8 +1524,9 @@ class CustomFormTest(TestCase, OperationInitTest):              key_in_charge, response.content.decode(),              msg="filter all - 'in charge' field not found on the modification "                  "wizard") -        f = CustomForm.objects.create(name="Test", form="operation-010-general", -                                      available=True, apply_to_all=True) +        f = CustomForm.objects.create( +            name="Test - all", form="operation-010-general", +            available=True, apply_to_all=True)          ExcludedField.objects.create(custom_form=f, field="in_charge")          response = c.post(url, data) @@ -1536,7 +1537,8 @@ class CustomFormTest(TestCase, OperationInitTest):          # user type form prevail on "all"          f_scientist = CustomForm.objects.create( -            name="Test", form="operation-010-general", available=True) +            name="Test - user", form="operation-010-general", +            available=True)          tpe = PersonType.objects.get(txt_idx='head_scientist')          key_address = "address"          f_scientist.user_types.add(tpe) | 
