def init_reporting(self): """ Initialize reporting module """ reporting.init(self.name, self)
def setUp(self): self.publisher = CoroutineMock() self.publisher.SERVICE = 'xmpp' reporting.init('test', self.publisher)
def init_reporting(self): """ Initialize reporting module """ reporting.init(self.client.boundjid.user, self)