

def test_workflow_render(self):
    TestWorkflow.register(TestExtraStep)
    req = self.factory.get('/foo')
    flow = TestWorkflow(req)
    output = http.HttpResponse(flow.render())
    self.assertContains(output, unicode(flow.name))
    self.assertContains(output, unicode(TestActionOne.name))
    self.assertContains(output, unicode(TestActionTwo.name))
    self.assertContains(output, unicode(TestActionThree.name))

dataset/ETHPy150Open CiscoSystems/avos/horizon/test/tests/workflows.py WorkflowsTests.test_workflow_render/original