The networking_generic_switch.tests.unit.test_devices Module

class networking_generic_switch.tests.unit.test_devices.FakeDevice(device_cfg)

Bases: networking_generic_switch.devices.GenericSwitchDevice

add_network(s, n)
del_network(s)
plug_port_to_network(s, p)
class networking_generic_switch.tests.unit.test_devices.FakeFaultyDevice(device_cfg)

Bases: networking_generic_switch.devices.GenericSwitchDevice

class networking_generic_switch.tests.unit.test_devices.TestDeviceManager(methodName='runTest')

Bases: unittest.case.TestCase

test_driver_load()
test_driver_load_fail_invoke(*args, **keywargs)
test_driver_load_fail_load()
test_driver_ngs_config()
test_driver_ngs_config_defaults()
class networking_generic_switch.tests.unit.test_devices.TestGenericSwitchDevice(methodName='runTest')

Bases: unittest.case.TestCase

test_correct_class()
test_fault_class()