예제 #1
0
 def test_webhook_negative_verification(self):
     bad_post = copy(cio_webhook_post)
     bad_post['signature'] = 'bogus'
     self.assertTrue(not tla.verify_webhook_post(bad_post))
예제 #2
0
 def test_webhook_negative_verification(self):
     bad_post = copy(cio_webhook_post)
     bad_post['signature'] = 'bogus'
     self.assertTrue(not tla.verify_webhook_post(bad_post))
예제 #3
0
 def test_webhook_positive_verification(self):
     self.assertTrue(tla.verify_webhook_post(cio_webhook_post))
예제 #4
0
 def test_webhook_positive_verification(self):
     self.assertTrue(tla.verify_webhook_post(cio_webhook_post))