Ejemplo n.º 1
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))
Ejemplo n.º 2
0
 def test_get_bytes_to_sign(self):
     verifier = BounceMessageVerifier({'Type': 'Notification'})
     self.assertEqual(verifier._get_bytes_to_sign(), 'Type\nNotification\n')
Ejemplo n.º 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))