diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-13 21:32:19 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-13 21:32:19 -0400 |
commit | ba5e135a02e83199ce60f67791fbadbb073dfa3c (patch) | |
tree | 557681d4acdb6652722e4dcbb1bf6a49d28c3a14 /tests | |
parent | ea678c1dd1260495cb9ac51caebd4d884ea3098b (diff) | |
download | py-bcrypt-git-ba5e135a02e83199ce60f67791fbadbb073dfa3c.tar.gz |
flake8
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_bcrypt.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_bcrypt.py b/tests/test_bcrypt.py index c735dc4..5793811 100644 --- a/tests/test_bcrypt.py +++ b/tests/test_bcrypt.py @@ -265,6 +265,7 @@ def test_hashpw_str_salt(): six.text_type("$2a$04$cVWp4XaNU8a4v1uMRum2SO"), ) + def test_nul_byte(): with pytest.raises(ValueError): bcrypt.hashpw(b"abc\0def", bcrypt.gensalt(0)) |