flake8
This commit is contained in:
parent
ea678c1dd1
commit
ba5e135a02
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user