コード例 #1
0
ファイル: test_steps.py プロジェクト: gescalante/buildbot
 def setUp(self):
     rmtree("test_steps")
     self.builder = FakeBuilder()
     self.builder_status = builder.BuilderStatus("fakebuilder")
     self.builder_status.basedir = "test_steps"
     self.builder_status.nextBuildNumber = 0
     os.mkdir(self.builder_status.basedir)
     self.build_status = self.builder_status.newBuild()
     req = base.BuildRequest("reason", SourceStamp(), 'test_builder')
     self.build = base.Build([req])
     self.build.build_status = self.build_status # fake it
     self.build.builder = self.builder
     self.build.slavebuilder = FakeSlaveBuilder()
     self.remote = FakeRemote()
     self.finished = 0
コード例 #2
0
ファイル: test_steps.py プロジェクト: crogers1/buildbot
 def setUp(self):
     rmtree("test_steps")
     self.builder = FakeBuilder()
     self.builder_status = builder.BuilderStatus("fakebuilder")
     self.builder_status.basedir = "test_steps"
     self.builder_status.nextBuildNumber = 0
     os.mkdir(self.builder_status.basedir)
     self.build_status = self.builder_status.newBuild()
     req = base.BuildRequest("reason", SourceStamp(), 'test_builder')
     self.build = base.Build([req])
     self.build.build_status = self.build_status  # fake it
     self.build.builder = self.builder
     self.build.slavebuilder = FakeSlaveBuilder()
     self.remote = FakeRemote()
     self.finished = 0
コード例 #3
0
 def rmtree(self, d):
     rmtree(d)
コード例 #4
0
ファイル: test_control.py プロジェクト: sridhar/buildbot
 def rmtree(self, d):
     rmtree(d)