Exemple #1
0
 def _execute_step(self, _build_url, recipe, step):
     old_local, old_request = self.local, self.request
     try:
         self.local, self.request = False, self._gather
         return BuildSlave._execute_step(self, 'dummy_build', recipe, step)
     finally:
         self.local, self.request = old_local, old_request
Exemple #2
0
 def _execute_step(self, _build_url, recipe, step):
     old_local, old_request = self.local, self.request
     try:
         self.local, self.request = False, self._gather
         return BuildSlave._execute_step(self, 'dummy_build', recipe, step)
     finally:
         self.local, self.request = old_local, old_request
Exemple #3
0
 def __init__(self, filename, work_dir):
     BuildSlave.__init__(self, [filename], work_dir=work_dir)
     self.results = []
Exemple #4
0
 def test_quit_raises(self):
     self.slave = BuildSlave([], work_dir=self.work_dir)
     self.assertRaises(ExitSlave, self.slave.quit)
Exemple #5
0
 def __init__(self, filename, work_dir):
     BuildSlave.__init__(self, [filename], work_dir=work_dir)
     self.results = []