def setUp(self): self.master = fakemaster.make_master() self.worker = mock.Mock() self.conn = base.Connection(self.master, self.worker)
def setUp(self): self.setup_test_reactor() self.worker = mock.Mock() self.conn = base.Connection(self.worker.workername)