Commit ca334c5c authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Rémi Duraffort

job.validate does not accept any parameter anymore

Change-Id: Iba04d7d046149e1bddab45131e4edac9e4c93d95
parent 494ae3af
......@@ -666,7 +666,7 @@ class TestYamlMultinode(TestCaseWithFactory):
host_job.id, DummyLogger(), "")
except (AttributeError, JobError, NotImplementedError, KeyError, TypeError) as exc:
self.fail('[%s] parser error: %s' % (host_job.sub_id, exc))
pipeline_job._validate(False)
pipeline_job._validate()
self.assertEqual([], pipeline_job.pipeline.errors)
try:
......@@ -675,7 +675,7 @@ class TestYamlMultinode(TestCaseWithFactory):
guest_job.id, DummyLogger(), "")
except (AttributeError, JobError, NotImplementedError, KeyError, TypeError) as exc:
self.fail('[%s] parser error: %s' % (guest_job.sub_id, exc))
pipeline_job._validate(False)
pipeline_job._validate()
self.assertEqual([], pipeline_job.pipeline.errors)
def test_multinode_tags(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment