def test_get_bytes_to_sign(self):
     verifier = BounceMessageVerifier({
         'Type': 'Notification'
     })
     result = verifier._get_bytes_to_sign()
     self.assertEqual(result, b'Type\nNotification\n')
     self.assertTrue(isinstance(result, bytes))
 def test_get_bytes_to_sign(self):
     verifier = BounceMessageVerifier({'Type': 'Notification'})
     self.assertEqual(verifier._get_bytes_to_sign(), 'Type\nNotification\n')
Exemple #3
0
 def test_get_bytes_to_sign(self):
     verifier = BounceMessageVerifier({'Type': 'Notification'})
     result = verifier._get_bytes_to_sign()
     self.assertEqual(result, b'Type\nNotification\n')
     self.assertTrue(isinstance(result, bytes))