summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_hashers.py
diff options
context:
space:
mode:
authorSaJH <wogur981208@gmail.com>2024-05-12 03:32:57 +0900
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-05-17 17:13:58 +0200
commit8f205acea94e93a463109e08814f78c09307f2b9 (patch)
tree410f42e7880b96eff35df17bc24aaa804ba8459d /tests/auth_tests/test_hashers.py
parent50852b2c2c805c98e2af8eea5433d1a3e5348b67 (diff)
Fixed #35428 -- Increased parallelism of the ScryptPasswordHasher.
Diffstat (limited to 'tests/auth_tests/test_hashers.py')
-rw-r--r--tests/auth_tests/test_hashers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth_tests/test_hashers.py b/tests/auth_tests/test_hashers.py
index 1b0d2c65be..bec298cc3a 100644
--- a/tests/auth_tests/test_hashers.py
+++ b/tests/auth_tests/test_hashers.py
@@ -650,8 +650,8 @@ class TestUtilsHashPassScrypt(SimpleTestCase):
encoded = make_password("lètmein", "seasalt", "scrypt")
self.assertEqual(
encoded,
- "scrypt$16384$seasalt$8$1$Qj3+9PPyRjSJIebHnG81TMjsqtaIGxNQG/aEB/NY"
- "afTJ7tibgfYz71m0ldQESkXFRkdVCBhhY8mx7rQwite/Pw==",
+ "scrypt$16384$seasalt$8$5$ECMIUp+LMxMSK8xB/IVyba+KYGTI7FTnet025q/1f"
+ "/vBAVnnP3hdYqJuRi+mJn6ji6ze3Fbb7JEFPKGpuEf5vw==",
)
self.assertIs(is_password_usable(encoded), True)
self.assertIs(check_password("lètmein", encoded), True)