initial tests for scheduler.py

This commit is contained in:
niphlod
2016-04-04 22:58:42 +02:00
parent 0804c28331
commit 6abb78c559
4 changed files with 364 additions and 7 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ class JobGraph(object):
task_child=task_child,
job_name=self.job_name)
def validate(self, job_name):
def validate(self, job_name=None):
"""Validates if all tasks job_name can be completed, i.e. there
are no mutual dependencies among tasks.
Commits at the end if successfull, or it rollbacks the entire