예제 #1
0
 def callAttached(self):
     self.conn = fakeprotocol.FakeConnection(self.wrk)
     return self.wrk.attached(self.conn)
예제 #2
0
 def setUp(self):
     self.master = fakemaster.make_master()
     self.worker = mock.Mock()
     self.conn = fakeprotocol.FakeConnection(self.master, self.worker)
예제 #3
0
 def callAttached(self):
     self.conn = fakeprotocol.FakeConnection(self.master, self.sl)
     return self.sl.attached(self.conn)
예제 #4
0
 def setUp(self):
     self.setUpTestReactor()
     self.worker = mock.Mock()
     self.conn = fakeprotocol.FakeConnection(self.worker)
예제 #5
0
 def setUp(self):
     self.master = fakemaster.make_master()
     self.buildslave = mock.Mock()
     self.conn = fakeprotocol.FakeConnection(self.master, self.buildslave)
예제 #6
0
파일: worker.py 프로젝트: trmiller/buildbot
 def __init__(self, master):
     self.master = master
     self.conn = fakeprotocol.FakeConnection(master, self)
     self.properties = properties.Properties()
     self.workerid = 383