def test_public_artifact(self):
     task = load_task('public.yml')
     self.assertEquals(check_task(task), -1)
 def test_invalid_head_repo(self):
     task = load_task('invalid_head_repo.yml')
     self.assertEquals(check_task(task), -1)
 def test_invalid_build(self):
     task = load_task('invalid_build.yml')
     self.assertEquals(check_task(task), -1)
 def test_valid_task(self):
     task = load_task('valid.yml')
     self.assertEquals(check_task(task), 0)
Beispiel #5
0
 def test_invalid_build(self):
     task = load_task('invalid_build.yml')
     self.assertEquals(check_task(task), -1)