def test_get_all_workflow_ids_no_workflows(self): playbook = Playbook('test', []) self.assertListEqual(playbook.get_all_workflow_ids(), [])
def test_get_all_workflow_ids_no_workflows(self): playbook = Playbook('test', []) self.assertListEqual(playbook.get_all_workflow_ids(), [])
def test_get_all_workflow_ids(self): workflows = [Workflow(str(i), 0) for i in range(3)] playbook = Playbook('test', workflows) orderless_list_compare(self, playbook.get_all_workflow_ids(), list(workflow.id for workflow in workflows))
def test_get_all_workflow_ids(self): workflows = [Workflow(str(i), 0) for i in range(3)] playbook = Playbook('test', workflows) orderless_list_compare(self, playbook.get_all_workflow_ids(), list(workflow.id for workflow in workflows))