def setupPushoverNotifier(self, user_key="1234", api_token=Interpolate("abcd"), **kwargs): pn = PushoverNotifier(user_key, api_token, **kwargs) yield pn.setServiceParent(self.master) yield pn.startService() return pn
def setupPushoverNotifier(self, user_key="1234", api_token="abcd", **kwargs): pn = PushoverNotifier(user_key, api_token, **kwargs) yield pn.setServiceParent(self.master) yield pn.startService() defer.returnValue(pn)
def test_notifiy_for_buildset(self): self.master.config.services = [ MailNotifier("*****@*****.**", mode="all", buildSetSummary=True), PushoverNotifier('1234', 'abcd', mode="all", buildSetSummary=True, messageFormatter=MessageFormatter(template='This is a message.'))] yield self.master.reconfigServiceWithBuildbotConfig(self.master.config) yield self.doTest('whole buildset')