summaryrefslogtreecommitdiff
path: root/passlib/tests/utils.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2012-02-08 23:22:09 -0500
committerEli Collins <elic@assurancetechnologies.com>2012-02-08 23:22:09 -0500
commitbf927985d1fe8df1b6a1cb9db4c314bf4c4c13af (patch)
tree4f40525d27469277f8c82c042ad0ebf404c02bbf /passlib/tests/utils.py
parent098f270258d6991ec0c74b63783cc0fcf3eecab9 (diff)
downloadpasslib-bf927985d1fe8df1b6a1cb9db4c314bf4c4c13af.tar.gz
documentation updates for last two commits
Diffstat (limited to 'passlib/tests/utils.py')
-rw-r--r--passlib/tests/utils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/passlib/tests/utils.py b/passlib/tests/utils.py
index 92e601e..5a29203 100644
--- a/passlib/tests/utils.py
+++ b/passlib/tests/utils.py
@@ -1004,8 +1004,9 @@ class HandlerCase(TestCase):
# use crypt.crypt() to check handlers that have an 'os_crypt' backend.
if _has_possible_crypt_support(handler):
possible = True
- # NOTE: disabling when self._orig_crypt set, means has_backend
- # will return a false positive.
+ # NOTE: disabling this when self._orig_crypt is set, since that flag
+ # indicates the current testcase has temporarily hacked os_crypt so
+ # that has_backend() will return a false positive.
if not self._orig_crypt and handler.has_backend("os_crypt"):
def check_crypt(secret, hash):
from crypt import crypt