summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2012-03-09 18:36:17 -0500
committerEli Collins <elic@assurancetechnologies.com>2012-03-09 18:36:17 -0500
commite0803178ae49f1fbaa367a7564b9877eacce628e (patch)
treed2d5a9e9fb40d6fe12d545667ffaaa3c1bd116de /docs
parent264bba6b0dcc92769a58b68c3743461a7b6cb2b9 (diff)
downloadpasslib-e0803178ae49f1fbaa367a7564b9877eacce628e.tar.gz
base HandlerCase class reworked
* reworked warning-matching code into assertWarningList() method * reorganized HandlerCase hash tests based on cross-cutting topic, not per-function; this combined many tests together to eliminate redundant setup * added test of reported rounds limits * added better fuzz testing - tests random passwords & options using encrypt(), and verifies against any all available backends * added flags to properly support 'disabled' handlers, and other border cases. * added tests for password & user case-sensitivity * restores warning filters after every test
Diffstat (limited to 'docs')
-rw-r--r--docs/lib/passlib.utils.handlers.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/lib/passlib.utils.handlers.rst b/docs/lib/passlib.utils.handlers.rst
index be4c008..325c730 100644
--- a/docs/lib/passlib.utils.handlers.rst
+++ b/docs/lib/passlib.utils.handlers.rst
@@ -177,7 +177,7 @@ of the unittest for :class:`passlib.hash.des_crypt`::
#: [optional] - if your hash only uses the first X characters of the password,
#: set that value here. otherwise leave the default (-1).
- secret_chars = 8
+ secret_size = 8
#: [required] - this should be a list of (password, hash) pairs,
# which should all verify correctly using your handler.