Changed the call to WorkflowProcessor.reset to reflect the change from class method to instance method

This commit is contained in:
mike cullerton 2021-01-29 14:06:25 -05:00
parent 7e76639cf3
commit c026717b4a
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ class TestWorkflowProcessor(BaseTest):
self.assertFalse(processor2.is_latest_spec) # Still at version 1.
# Do a hard reset, which should bring us back to the beginning, but retain the data.
WorkflowProcessor.reset(processor2.workflow_model)
processor2.reset(processor2.workflow_model)
processor3 = WorkflowProcessor(processor.workflow_model)
processor3.do_engine_steps()
self.assertEqual("Step 1", processor3.next_task().task_spec.description)