(self)
| 71 | self.assertIs(await acheck_password(" ", blank_encoded), False) |
| 72 | |
| 73 | def test_bytes(self): |
| 74 | encoded = make_password(b"bytes_password") |
| 75 | self.assertTrue(encoded.startswith("pbkdf2_sha256$")) |
| 76 | self.assertIs(is_password_usable(encoded), True) |
| 77 | self.assertIs(check_password(b"bytes_password", encoded), True) |
| 78 | |
| 79 | def test_invalid_password(self): |
| 80 | msg = "Password must be a string or bytes, got int." |
nothing calls this directly
no test coverage detected