def setUp(self): self.master = mock.Mock(name='master') self.mq = simple.SimpleMQ(self.master)
def setUp(self): self.master = fakemaster.make_master() self.mq = simple.SimpleMQ() self.mq.setServiceParent(self.master)
def setUp(self): self.setUpTestReactor() self.master = fakemaster.make_master(self) self.mq = simple.SimpleMQ() yield self.mq.setServiceParent(self.master)