示例#1
0
 def test_provider_key(self):
     notify(TITLE, MESSAGE, provider_key='providerkey')
     self.verify_post(providerkey='providerkey')
示例#2
0
 def test_url(self):
     notify(TITLE, MESSAGE, url='foobar')
     self.verify_post(url='foobar')
示例#3
0
 def test_high_priority(self):
     notify(TITLE, MESSAGE, priority=2)
     self.verify_post(priority=2)
示例#4
0
 def test_low_priority(self):
     notify(TITLE, MESSAGE, priority=-2)
     self.verify_post(priority=-2)
示例#5
0
 def test_basic(self):
     notify(TITLE, MESSAGE)
     self.verify_post()