1. Jeffrey Goettsch
  2. py-pushnotify


Jeffrey Goettsch  committed 1311c34

Added PyDoc comment about sending sounds through pushover.Client's notify method. Closes #8.

  • Participants
  • Parent commits ecf6600
  • Branches default

Comments (0)

Files changed (2)

File pushnotify/pushover.py

View file
                     to attach to the notification.
                 url_title: A string of up to 50 characters containing a
                     title to give the attached URL.
+                sound: A string containing a valid sound returned from
+                    get_sounds().
                 (default: None)

File pushnotify/tests/tests.py

View file
         self.client.notify(self.desc, self.event, split=False,
                            kwargs={'priority': 1, 'url': 'http://google.com/',
-                                   'url_title': 'Google'})
+                                   'url_title': 'Google',
+                                   'sound': 'classical'})
     def test_notify_valid_split(self):
         """Test pushover.Client.notify with a valid notification,