

def test_workflow_registration(self):
    req = self.factory.get('/foo')
    flow = TestWorkflow(req)
    self.assertQuerysetEqual(flow.steps, ['<TestStepOne: test_action_one>', '<TestStepTwo: test_action_two>'])
    TestWorkflow.register(TestExtraStep)
    flow = TestWorkflow(req)
    flow.assertQuerysetEqual(flow.steps, ['<TestStepOne: test_action_one>', '<TestExtraStep: test_action_three>', '<TestStepTwo: test_action_two>'])

dataset/ETHPy150Open CiscoSystems/avos/horizon/test/tests/workflows.py WorkflowsTests.test_workflow_registration/VarMisuse@57/95 `self`->`flow`