txghbot.test.test_core.VerifyHMACTestCase(unittest.SynchronousTestCase) class documentationtxghbot.test.test_core
(View In Hierarchy)
| Method | assertHeadersFail | Undocumented |
| Method | setUp | Undocumented |
| Method | test_missingSignatureFails | Headers that lack the HMAC header fail to verify. |
| Method | test_tooManySignaturesFail | Headers with more than one value for HMAC header fail to verify. |
| Method | test_malformedSignatureFails | Headers containing an improperly formatted HMAC fail to verify. |
| Method | test_notSHA1Fails | Headers containing a non-SHA1 HMAC fail to verify. |
| Method | test_incorrectSignatureFails | Headers with a SHA1 HMAC that is not derived from request's content and the secret key fail to verify. |
| Method | test_correctSignatureSucceeds | Headers with a SHA1 HMAC derived from the request's content and the secret key verify successfully. |
| Method | _makeSignatureHeaders | Undocumented |
Headers with more than one value for HMAC header fail to verify.
Headers containing an improperly formatted HMAC fail to verify.