python-openflow
python-openflow copied to clipboard
make TestStruct able to test any struct
Current TestStruct class is only able to test hole messages stored in a dump file.
We can recycle it to be able to test any pyof GenericStruct derivative increasing the tests coverage capability and avoid having to re-implement the test functions.
work can be followed here: https://github.com/kytos/python-openflow/compare/master...erickvermot:teststruct_improvement_application
@erickvermot, I think this is ready for a PR. Could you make one? Then, we'll write some comments.