for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
"""Hello message tests."""
from pyof.v0x01.symmetric.hello import Hello
from tests.unit.test_struct import TestStruct
class TestHello(TestStruct):
"""Hello message tests (also those in :class:`.TestDump`)."""
@classmethod
def setUpClass(cls):
"""Configure raw file and its object in parent class (TestDump)."""
super().setUpClass()
super().set_raw_dump_file('v0x01', 'ofpt_hello')
super().set_raw_dump_object(Hello, xid=1)
super().set_minimum_size(8)