def schedule_graph(self, task_graph, *args, **kwargs): tc.validate_graph(task_graph) return tc.schedule_graph(task_graph, *args, **kwargs)
def test_check_valid_graph(self): # Similar to the previous test, but with the correct owner field tc.validate_graph(self.data3) self.assert_(True)