예제 #1
0
파일: testdef.py 프로젝트: cataglyphis/LAVA
 def validate(self):
     if 'repository' not in self.parameters:
         self.errors = "Bzr repository not specified in job definition"
     if 'path' not in self.parameters:
         self.errors = "Path to YAML file not specified in the job definition"
     if not self.valid:
         return
     self.vcs = BzrHelper(self.parameters['repository'])
     super(BzrRepoAction, self).validate()