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})
def send(self): self._prepare_push() Push.alert(self._data, self.where, **self._kwargs)