summaryrefslogtreecommitdiff
path: root/passlib/tests/test_utils_handlers.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * PrefixWrapper: added .ident and .ident_values proxies; dir() now reports ↵Eli Collins2011-12-221-2/+35
| | | | | | | | proxies attrs
* | ran a custom 2to3 fixer to replace all u"" with u() and add an import from ↵Eli Collins2011-12-061-28/+29
| | | | | | | | compat.u
* | added compat.unicode imports in a number of placesEli Collins2011-12-061-1/+2
|/ | | | | | | | this distinguishes the types, so that for isinstance() tests... * 'unicode' always means the unicode type * 'bytes' always means the bytes type * 'str' always means the native string type
* replaced assert_, assertEquals, assertNotEquals to silence Py3.2 deprecation ↵Eli Collins2011-07-111-11/+11
| | | | warnings
* bugfixes from running UTsEli Collins2011-07-091-5/+11
| | | | | | | | | | | | | * typo in safe_os_crypt UT * typo in has_backend UT * typo in HasManyBackends HandlerCase UT * fixed inverted has_backend() test in HasManyBackends.set_backend() * ensure all safe_os_crypt backend checks return boolean * BSDiCrypt - fixed os_crypt backend, was passing incomplete string to os_crypt * workaround for Jython object.__new__() behavior in test 'UnsaltedHash' UT * added passlib.utils.jython_vm flag for detecting jython
* cleaned up and documented HasManyBackends behavior; now raises ↵Eli Collins2011-07-081-4/+13
| | | | MissingBackendError if no backends available
* base HandlerCase, and utils.handlers UTs, converted to support unicode policyEli Collins2011-06-171-31/+44
|
* tightened salt info specifications; improved salt info conformance testsEli Collins2011-05-031-4/+28
|
* similar to api change, renamed checksum_chars->checksum_size, ↵Eli Collins2011-04-251-4/+4
| | | | | | checksum_charset->checksum_chars. * these were never documented or used externally, so no deprecated aliases left.
* api change - renaming (min|max|default)_salt_chars attributes -> ↵Eli Collins2011-04-251-7/+7
| | | | | | | | | | | (min|max|default)_salt_size * part of finalization of password hash api, these should not change name again * the names are rather ambiguous, "_size" makes it clearer what they mean * also renamed salt_charset -> salt_chars for the same reason * for applications that were reading old attributes, left aliases in place which will issue a warning when access - these will be removed in passlib 1.5 *
* new PrefixWrapper constructor, for wrapping existing handlers and altering ↵Eli Collins2011-04-251-1/+83
| | | | the prefix
* bugfix: missing strict kwd in HasSalt.generate_salt(); UT addedEli Collins2011-04-051-4/+14
|
* updated UTs to work with new helper classesEli Collins2011-04-051-74/+87
|
* replaced "raise exc, msg" with "raise exc(msg)" everywhere (working on py3k ↵Eli Collins2011-03-281-2/+2
| | | | compat, changes made by 2to3)
* misc bugfixes & tweaks for win32 compatEli Collins2011-03-251-7/+11
|
* added phpass_context & phpbb3_context to passlib.appsEli Collins2011-03-241-0/+2
|
* big rename: changed base handler class namesEli Collins2011-03-221-18/+18
| | | | | | | | ============================================ renamed the classes in passlib.utils.handlers, for clarity in code: * BaseHash -> SimpleHandler * ExtHash -> ExtendedHandler * BackendExtHash -> MultiBackendHandler
* big rename: driver->handlerEli Collins2011-03-221-0/+291
=========================== Renamed all references from password hash "driver" -> password hash "handler", to be more consistent with existing phrasing. This also required rearranging quite a lot of modules.