diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-06-26 17:11:56 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-06-26 17:11:56 +0200 |
commit | fb9686cf4e34377e67e8bcd2ad6f6a07d6cb44e3 (patch) | |
tree | 878d49a40e79c57a11b26459e92d7c90547b5c4c | |
parent | af761ab0025ac901300b2e8e177828a52a3f4a2f (diff) | |
download | Ishtar-fb9686cf4e34377e67e8bcd2ad6f6a07d6cb44e3.tar.bz2 Ishtar-fb9686cf4e34377e67e8bcd2ad6f6a07d6cb44e3.zip |
✅ fix operation wizard test with operation code required
-rw-r--r-- | archaeological_operations/tests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 605f4e46f..cf3cfb4a6 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -3673,7 +3673,7 @@ class OperationWizardModifTest(WizardTest, OperationInitTest, TestCase): "Update an operation", form_datas={ "selec": {}, - "general": {"operation_type": 2, "year": 2017, "town": []}, + "general": {"code_patriarche": "123", "operation_type": 2, "year": 2017, "town": []}, }, ignored=base_ignored_steps, ), @@ -3694,7 +3694,7 @@ class OperationWizardModifTest(WizardTest, OperationInitTest, TestCase): "Operation: remove a parcel with no attached context record", form_datas={ "selec": {}, - "general": {"operation_type": 2, "year": 2017, "town": []}, + "general": {"code_patriarche": "1234", "operation_type": 2, "year": 2017, "town": []}, }, ignored=base_ignored_steps, ), @@ -3702,7 +3702,7 @@ class OperationWizardModifTest(WizardTest, OperationInitTest, TestCase): "Set an operation to an exiting operation code for this year", form_datas={ "selec": {}, - "general": {"operation_type": 2, "operation_code": 42, + "general": {"code_patriarche": "12345", "operation_type": 2, "operation_code": 42, "year": 2017, "town": []}, }, ignored=base_ignored_steps, @@ -3712,7 +3712,7 @@ class OperationWizardModifTest(WizardTest, OperationInitTest, TestCase): "Operation: change a parcel", form_datas={ "selec": {}, - "general": {"operation_type": 2, "year": 2017, "town": []}, + "general": {"code_patriarche": "123456", "operation_type": 2, "year": 2017, "town": []}, }, ignored=base_ignored_steps, ), @@ -3720,7 +3720,7 @@ class OperationWizardModifTest(WizardTest, OperationInitTest, TestCase): "Operation: change a town", form_datas={ "selec": {}, - "general": {"operation_type": 2, "year": 2017, "town": []}, + "general": {"code_patriarche": "1234567", "operation_type": 2, "year": 2017, "town": []}, }, ignored=base_ignored_steps, ), |