summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_hmac.py
Commit message (Collapse)AuthorAgeFilesLines
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-9/+9
|
* warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon2008-09-091-1/+1
| | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson.
* Make sure that the warnings filter is not reset or changed beyond the currentBrett Cannon2008-03-191-4/+2
| | | | | | running test file. Closes issue2407. Thanks Jerry Seutter.
* Fixes Issue 1385: The hmac module now computes the correct hmac when usingGregory P. Smith2007-11-061-5/+159
| | | | hashes with a block size other than 64 bytes (such as sha384 and sha512).
* Have the sha module raise a DeprecationWarning as specified in PEP 4.Brett Cannon2007-05-311-5/+5
|
* [ sf.net patch # 1121611 ]Gregory P. Smith2005-08-211-4/+5
| | | | | | | | | A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility.
* Add more tests from RFC 2202.Jeremy Hylton2003-05-271-2/+55
|
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-6/+6
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Standardize behavior: no docstrings in test functions; create a singleGuido van Rossum2002-08-221-13/+19
| | | | suite merging all test cases.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Use attributes appropriatelyNeal Norwitz2002-04-011-1/+1
|
* Whitespace normalization.Tim Peters2001-11-131-2/+1
|
* [Patch #477336] Add an extensive PyUnit based testsuite for the hmacAndrew M. Kuchling2001-11-021-1/+108
| | | | module
* Test for new hmac module.Guido van Rossum2001-09-111-0/+2