(x)
| 19 | |
| 20 | @pytest.mark.parametrize("x", buffers) |
| 21 | def test_hash_buffer(x): |
| 22 | for hasher in [None] + hashers: |
| 23 | h = hash_buffer(x, hasher=hasher) |
| 24 | assert isinstance(h, bytes) |
| 25 | assert 8 <= len(h) < 32 |
| 26 | assert h == hash_buffer(x, hasher=hasher) |
| 27 | |
| 28 | |
| 29 | @pytest.mark.parametrize("x", buffers) |
nothing calls this directly
no test coverage detected