コード例 #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
コード例 #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   
コード例 #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)
コード例 #4
0
def test_list_tasks():
    wf = Workflow(gbdx)
    taskinfo = wf.list_tasks()
    assert taskinfo is not None
    assert 'HelloGBDX' in taskinfo['tasks']
コード例 #5
0
def test_list_tasks():
    wf = Workflow(gbdx)
    taskinfo = wf.list_tasks()
    assert taskinfo is not None
    assert 'HelloGBDX' in taskinfo['tasks']
コード例 #6
0
 def test_list_tasks(self):
     wf = Workflow(self.gbdx)
     taskinfo = wf.list_tasks()
     self.assertTrue(taskinfo is not None)
     self.assertTrue('HelloGBDX' in taskinfo['tasks'])