From ba5e135a02e83199ce60f67791fbadbb073dfa3c Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 13 Mar 2015 21:32:19 -0400 Subject: [PATCH] flake8 --- tests/test_bcrypt.py | 1 + 1 file changed, 1 insertion(+) 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))