コード例 #1
0
 def _protocolFactory(self, *args, **kw):
     self._serverProtocol = pb.Broker(0)
     return self._serverProtocol
コード例 #2
0
 def setUp(self):
     self.step = buildstep.RemoteShellCommand("build", ["echo", "hello"])
     self.step.buildslave = self.step.remote = mock.Mock()
     self.step.processUniqueID = lambda: 2
     self.step.remote.broker = pb.Broker()