The networking_generic_switch.tests.unit.devices.test_utils Module

class networking_generic_switch.tests.unit.devices.test_utils.TestDevices(methodName='runTest')

Bases: unittest.case.TestCase

setUp()

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

test_get_switch_device_fallback_to_switch_info()
test_get_switch_device_match()
test_get_switch_device_match_mac_ignore_case()
test_get_switch_device_match_priority()
test_get_switch_device_no_match()
test_sanitise_config()