def test_get_all_workflow_names(self): workflows = [Workflow(str(i), 0) for i in range(3)] playbook = Playbook('test', workflows) orderless_list_compare(self, playbook.get_all_workflow_names(), ['0', '1', '2'])
def test_get_all_workflow_names(self): workflows = [Workflow(str(i), 0) for i in range(3)] playbook = Playbook('test', workflows) orderless_list_compare(self, playbook.get_all_workflow_names(), ['0', '1', '2'])
def test_get_all_workflow_names_no_workflows(self): playbook = Playbook('test', []) self.assertListEqual(playbook.get_all_workflow_names(), [])
def test_get_all_workflow_names_no_workflows(self): playbook = Playbook('test', []) self.assertListEqual(playbook.get_all_workflow_names(), [])