def test_hmac(self):
    '\n        From http://en.wikipedia.org/wiki/Hash-based_message_authentication_code\n\n        HMAC_SHA1("key", "The quick brown fox jumps over the lazy dog")\n           = 0xde7c9b85b8b78aa6bc8a7a36f70a90701c9db4d9\n        '
    message = 'The quick brown fox jumps over the lazy dog'
    key = 'a2V5'
    signature = '3nybhbi3iqa8ino29wqQcBydtNk='
    self.assertEqual(signature, _client.sign_hmac(key, message))
From http://en.wikipedia.org/wiki/Hash-based_message_authentication_code

HMAC_SHA1("key", "The quick brown fox jumps over the lazy dog")
   = 0xde7c9b85b8b78aa6bc8a7a36f70a90701c9db4d9
def test_hmac(self):
    '\n        From http://en.wikipedia.org/wiki/Hash-based_message_authentication_code\n\n        HMAC_SHA1("key", "The quick brown fox jumps over the lazy dog")\n           = 0xde7c9b85b8b78aa6bc8a7a36f70a90701c9db4d9\n        '
    message = 'The quick brown fox jumps over the lazy dog'
    key = 'a2V5'
    signature = '3nybhbi3iqa8ino29wqQcBydtNk='
    self.assertEqual(signature, _client.sign_hmac(key, message))