Commits

Jeffrey Goettsch committed 1311c34

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

  • Participants
  • Parent commits ecf6600

Comments (0)

Files changed (2)

pushnotify/pushover.py

                     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)
 
         Raises:

pushnotify/tests/tests.py

 
         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,