dhcpkit_vpp.tests.protocols.test_layer2 module

Test whether layer 2 parsing and generating works

class dhcpkit_vpp.tests.protocols.test_layer2.Layer2FrameTestCase(methodName='runTest')[source]

Bases: dhcpkit_vpp.tests.protocols.FrameTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_display_destination()[source]
test_display_ethertype()[source]
test_display_source()[source]
test_ethernet_length()[source]
test_l3_payload_type()[source]
test_unknown_payload_type()[source]
test_validate_destination()[source]
test_validate_ethertype()[source]
test_validate_payload()[source]
test_validate_source()[source]