Пример #1
0
 def test_has_workflow_id(self):
     workflow = Workflow('wf_name', 0)
     playbook = Playbook('test', [workflow])
     self.assertTrue(playbook.has_workflow_id(workflow.id))
Пример #2
0
 def test_has_workflow_id(self):
     workflow = Workflow('wf_name', 0)
     playbook = Playbook('test', [workflow])
     self.assertTrue(playbook.has_workflow_id(workflow.id))
Пример #3
0
 def test_has_workflow_id_no_workflows(self):
     playbook = Playbook('test', [])
     self.assertFalse(playbook.has_workflow_id(1))
Пример #4
0
 def test_has_workflow_id_no_workflows(self):
     playbook = Playbook('test', [])
     self.assertFalse(playbook.has_workflow_id(1))