예제 #1
0
파일: tests.py 프로젝트: jerez/ParsePy
 def testCanAlert(self):
     Push.alert({"alert": "The Mets scored! The game is now tied 1-1.",
                 "badge": "Increment", "title": "Mets Score"},
                channels=["Mets"], where={"scores": True})
예제 #2
0
 def send(self):
     self._prepare_push()
     Push.alert(self._data, self.where, **self._kwargs)