示例#1
0
 def test_private_repository_build(self):
     Repository = self.project.get_vcs_backend()
     assert getattr(Repository, 'supports_private_repositories', False)
     d1 = self.project.commits.create(branch='dev', vcs_id='dev1', was_successful=True)
     build = d1.builds.create(configuration=self.build_config)
     builder = Builder(build)
     try:
         builder.setup_build()
     except BranchDoesNotExistError:
         pass
示例#2
0
 def __init__(self, build):
     self.exception = None
     Builder.__init__(self, build)
示例#3
0
 def __init__(self, build):
     self.exception = None
     Builder.__init__(self, build)