Sync shared snapshot from 74942e5
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0fd1805502
commit
833eab04af
4 files changed
+25
-14
No files matched your search
@@ -42,9 +42,7 @@ class AuthContractTests(unittest.TestCase):
|
||||
if "python" in entry.get("needsUpgrade", {}):
|
||||
want = entry["needsUpgrade"]["python"]
|
||||
self.assertEqual(password_hash_needs_upgrade(entry["hash"]), want)
|
||||
valid, upgraded = verify_and_upgrade_password(
|
||||
plaintext, entry["hash"]
|
||||
)
|
||||
valid, upgraded = verify_and_upgrade_password(plaintext, entry["hash"])
|
||||
self.assertTrue(valid)
|
||||
self.assertEqual(upgraded is not None, want)
|
||||
if upgraded is not None:
|
||||
|
||||
Reference in new issue
Block a user