py-evm icon indicating copy to clipboard operation
py-evm copied to clipboard

Add hypothesis based tests to test Clique RLP types

Open cburgdorf opened this issue 6 years ago • 0 comments

What is wrong?

The following test would benefit from some hypothesis based tests to catch more edge cases such as empty data etc.

https://github.com/ethereum/py-evm/blob/3c3fd7e114937faa98c6102d0c838124a7afe179/tests/core/consensus/test_clique_encoding.py#L56-L72

How can it be fixed

Add some hypothesis based test cases

cburgdorf avatar Nov 04 '19 12:11 cburgdorf