Esempio n. 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))
 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))
Esempio n. 3
0
 def test_webhook_positive_verification(self):
     self.assertTrue(tla.verify_webhook_post(cio_webhook_post))
 def test_webhook_positive_verification(self):
     self.assertTrue(tla.verify_webhook_post(cio_webhook_post))