You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was working on some unit tests for some st2 workflows and the WorkflowRehearsal test case doesn't account for times when the st2 context may be accessed in the workflow. I have a workflow that defines in the vars section a variable that includes st2.action_execution_id. It results in an exception like this one:
I was working on some unit tests for some
st2workflows and theWorkflowRehearsaltest case doesn't account for times when thest2context may be accessed in the workflow. I have a workflow that defines in thevarssection a variable that includesst2.action_execution_id. It results in an exception like this one:It would be useful to be able to pass in
contextto theWorkflowTestCasespec and then update theWorkflowRehearsaltest case to make use of it.