summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--passlib/tests/test_handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/passlib/tests/test_handlers.py b/passlib/tests/test_handlers.py
index cbcd484..08f19d4 100644
--- a/passlib/tests/test_handlers.py
+++ b/passlib/tests/test_handlers.py
@@ -190,7 +190,7 @@ class _bsdi_crypt_test(HandlerCase):
self.assertFalse(handler.needs_update(odd_hash))
# new hashes shouldn't have even rounds
- new_hash = handler.encrypt("stub")
+ new_hash = handler.hash("stub")
self.assertFalse(handler.needs_update(new_hash))
# create test cases for specific backends