def test_task_definition(self): print("\nTesting get task definition") task_list = gbdx.list_available_tasks(self.sess) ret = gbdx.get_task_definition(self.sess, task_list[0]) self.assertTrue("description" in ret.keys(), "Possibly invalid return for task definition")
def test_list_tasks(self): print("\nTesting list available tasks") task_list = gbdx.list_available_tasks(self.sess) self.assertTrue(len(task_list)>5, "Suspiciously few tasks listed on gbdx platform.")