diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2017-12-03 20:43:38 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-12-04 10:43:38 +0800 |
commit | ea76ee82eba1700e1143022050b368460fc9cd7f (patch) | |
tree | 80743b36f24a5f5e599398cb8c81758604ab7eda | |
parent | 6d45e5963114fa74193a3458ab42869e719f39f9 (diff) | |
download | py-bcrypt-git-ea76ee82eba1700e1143022050b368460fc9cd7f.tar.gz |
Don't emit warnings here, there's no point (#137)
* Don't emit warnings here, there's no point
* whoops here
-rw-r--r-- | tests/test_bcrypt.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_bcrypt.py b/tests/test_bcrypt.py index 7ad40f7..3f00875 100644 --- a/tests/test_bcrypt.py +++ b/tests/test_bcrypt.py @@ -400,7 +400,9 @@ def test_checkpw_extra_data(): b"\x43\x66\x6c\x9b\x09\xef\x33\xed\x8c\x27\xe8\xe8\xf3\xe2\xd8\xe6" ]]) def test_kdf(rounds, password, salt, expected): - derived = bcrypt.kdf(password, salt, len(expected), rounds) + derived = bcrypt.kdf( + password, salt, len(expected), rounds, ignore_few_rounds=True + ) assert derived == expected |