def test_get_all_workflow_uids(self): workflows = [MockWorkflow(i, i + 1) for i in range(3)] playbook = Playbook('test', workflows) orderless_list_compare(self, playbook.get_all_workflow_uids(), list(range(3)))
def test_get_all_workflow_uids_no_workflows(self): playbook = Playbook('test', []) self.assertListEqual(playbook.get_all_workflow_uids(), [])