diff --git a/tests/data/enum_checkbox/enum_checkbox.bpmn b/tests/data/enum_checkbox/enum_checkbox.bpmn index 57fb5b0e..f74586fd 100644 --- a/tests/data/enum_checkbox/enum_checkbox.bpmn +++ b/tests/data/enum_checkbox/enum_checkbox.bpmn @@ -25,7 +25,9 @@ # Enum data -{{ some_field }} +{% for i in range(some_field | length) %} + {{ some_field[i] }} +{% endfor %} Flow_07pr9lr Flow_13oillk @@ -38,10 +40,10 @@ - + - + @@ -51,15 +53,15 @@ - - - + + + diff --git a/tests/workflow/test_workflow_enum_checkbox.py b/tests/workflow/test_workflow_enum_checkbox.py index 9c76cacb..55f94300 100644 --- a/tests/workflow/test_workflow_enum_checkbox.py +++ b/tests/workflow/test_workflow_enum_checkbox.py @@ -18,4 +18,5 @@ class TestEnumCheckbox(BaseTest): workflow_api = self.get_workflow_api(workflow) task = workflow_api.next_task - self.assertEqual("# Enum data\n[{'value': 'value_1', 'label': 'value_1'}, {'value': 'value_3', 'label': 'value_3'}]", task.documentation) + self.assertIn("{'value': 'value_1', 'label': 'value_1'}", task.documentation) + self.assertIn("{'value': 'value_3', 'label': 'value_3'}", task.documentation)