edx/edx-ora2 — pull request #406 by stephensanchez (2014-06-04 19:07:03+00:00)
Title: Pass over unknown workflow steps.

@wedaly @gradyward

Don't you hate when all your afternoon's effort is summed up with a one-line change?

In order to support rolling back, with workflows that have a status in a now 'unknown' state, we do not iterate over any steps in the Workflow API if they are not explicitly declared in AssessmentWorkflow.STEPS. This should avoid any risk of calling unknown APIs.

Test simulates this adjusted contract by adding a module to AssessmentWorkflow.STEPS, then removing it.