Improve workflow selection before raising a WorkflowExecutionAlreadyStartedFault

This commit is contained in:
Jean-Baptiste Barth 2015-11-01 22:23:15 +01:00
commit 804d2e91b5
2 changed files with 17 additions and 15 deletions

View file

@ -97,3 +97,6 @@ def test_domain_get_workflow_execution():
SWFUnknownResourceFault,
"Unknown execution: WorkflowExecution=[workflowId=wf-id-3, runId=run-id-4]"
)
# raise_if_none attribute
domain.get_workflow_execution("foo", raise_if_none=False).should.be.none