

def test_entry_point(self):
    req = self.factory.get('/foo')
    flow = TestWorkflow(req)
    self.assertEqual('test_action_one', flow.get_entry_point())
    flow = TestWorkflow(req, entry_point='test_action_two')
    self.assertEqual('test_action_two', flow.get_entry_point())

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