mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-24 05:18:22 +00:00
Merge pull request #79 from sartography/feature/better_unit_tests
A little cleanup around the Script Unit Tests - so that it's easier to show this feature off
This commit is contained in:
commit
1033159b2a
@ -1669,7 +1669,7 @@ def script_unit_test_create(
|
|||||||
|
|
||||||
extension_elements = None
|
extension_elements = None
|
||||||
extension_elements_array = script_task_element.xpath(
|
extension_elements_array = script_task_element.xpath(
|
||||||
"//bpmn:extensionElements",
|
".//bpmn:extensionElements",
|
||||||
namespaces={"bpmn": "http://www.omg.org/spec/BPMN/20100524/MODEL"},
|
namespaces={"bpmn": "http://www.omg.org/spec/BPMN/20100524/MODEL"},
|
||||||
)
|
)
|
||||||
if len(extension_elements_array) == 0:
|
if len(extension_elements_array) == 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user