summaryrefslogtreecommitdiff
path: root/passlib/tests/test_handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'passlib/tests/test_handlers.py')
-rw-r--r--passlib/tests/test_handlers.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/passlib/tests/test_handlers.py b/passlib/tests/test_handlers.py
index 2d4a49b..4845824 100644
--- a/passlib/tests/test_handlers.py
+++ b/passlib/tests/test_handlers.py
@@ -1688,6 +1688,10 @@ class mysql323_test(HandlerCase):
h2 = self.do_encrypt("my pass")
self.assertEqual(h, h2)
+ def accept_fuzz_pair(self, secret, other):
+ # override to handle whitespace
+ return secret.replace(" ","") != other.replace(" ","")
+
class mysql41_test(HandlerCase):
handler = hash.mysql41
known_correct_hashes = [
@@ -2666,7 +2670,7 @@ class sun_md5_crypt_test(HandlerCase):
]
- platform_crypt_support = [
+ platform_crypt_support = [
("solaris", True),
("freebsd|openbsd|netbsd|linux|darwin", False),
]