* move existing tests for long pws into a separate test to assert ValueError is raised * add more tests for edge cases around the 72 byte length * raise ValuError if the password passed to hashpw() is longer than 72 bytes * improve error message * update test_2a_wraparound_bug * remove obsolete re-assignment of `password` * remove obsolete tests the "raise on passwords longer than 72 chars" behavior is already covered in `test_hashpw_raises_correctly_for_long_passwords`, and the `test_2a_wraparound_bug` is not relevant anymore (this previously ensured truncation, which we do not do anymore) |
||
|---|---|---|
| .. | ||
| test_bcrypt.py | ||