(x)
| 28 | |
| 29 | @pytest.mark.parametrize("x", buffers) |
| 30 | def test_hash_buffer_hex(x): |
| 31 | for hasher in [None] + hashers: |
| 32 | h = hash_buffer_hex(x, hasher=hasher) |
| 33 | assert isinstance(h, str) |
| 34 | assert 16 <= len(h) < 64 |
| 35 | assert h == hash_buffer_hex(x, hasher=hasher) |
| 36 | |
| 37 | |
| 38 | @pytest.mark.parametrize("hasher", hashers) |
nothing calls this directly
no test coverage detected