Exemplo n.º 1
0
def test_describe_tasks():
    wf = Workflow(gbdx)
    taskinfo = wf.list_tasks()
    assert len(taskinfo) > 0
    desc = wf.describe_task(taskinfo['tasks'][0])
    assert isinstance(desc, dict)
    assert len(desc['description']) > 0   
Exemplo n.º 2
0
def test_describe_tasks():
    wf = Workflow(gbdx)
    taskinfo = wf.list_tasks()
    assert len(taskinfo) > 0
    desc = wf.describe_task(taskinfo['tasks'][0])
    assert isinstance(desc, dict)
    assert len(desc['description']) > 0
Exemplo n.º 3
0
 def test_describe_tasks(self):
     wf = Workflow(self.gbdx)
     taskinfo = wf.list_tasks()
     self.assertTrue(len(taskinfo) > 0)
     desc = wf.describe_task(taskinfo['tasks'][0])
     self.assertTrue(isinstance(desc, dict))
     self.assertTrue(len(desc['description']) > 0)