Esempio n. 1
0
 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
Esempio n. 2
0
 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)
Esempio n. 3
0
 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')
 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
Esempio n. 5
0
 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)