Ejemplo n.º 1
0
 def test_hmac_it_md5(self):
     hmac_val = client.hmac_it("test", "key", "md5")
     self.assertEqual(hmac_val, "1d4a2743c056e467ff3f09c9af31de7e")
Ejemplo n.º 2
0
 def test_hmac_it(self):
     hmac_val = client.hmac_it("test", "key")
     self.assertEqual(hmac_val, ("02afb56304902c656fcb737cd"
                                 "d03de6205bb6d401da2812efd9b2d36a08af159"))