コード例 #1
0
 def setUp(self):
     self.master = fakemaster.make_master()
     self.worker = mock.Mock()
     self.conn = base.Connection(self.master, self.worker)
コード例 #2
0
 def setUp(self):
     self.setup_test_reactor()
     self.worker = mock.Mock()
     self.conn = base.Connection(self.worker.workername)