tests: adapt test_global_timeout_trigger for anchor_expression behaviour
This commit is contained in:
parent
6f06588a86
commit
e8c16b010b
|
@ -623,7 +623,8 @@ def test_global_timeout_trigger(pub):
|
|||
trigger.timeout = '2'
|
||||
trigger.anchor = 'creation'
|
||||
|
||||
wf2 = assert_import_export_works(wf, include_id=True)
|
||||
wf2 = Workflow.import_from_xml_tree(
|
||||
ET.fromstring(ET.tostring(wf.export_to_xml(True))), True)
|
||||
assert wf2.global_actions[0].triggers[-1].id == trigger.id
|
||||
assert wf2.global_actions[0].triggers[-1].anchor == trigger.anchor
|
||||
|
||||
|
|
Loading…
Reference in New Issue