The networking_cisco.tests.unit.cisco.device_manager.device_manager_test_support
Module¶
-
class
networking_cisco.tests.unit.cisco.device_manager.device_manager_test_support.
DeviceManagerTestSupportMixin
¶ Bases:
object
-
class
networking_cisco.tests.unit.cisco.device_manager.device_manager_test_support.
FakeResource
(id=None, enabled=’enabled’, state=’up’, binary=None)¶ Bases:
object
-
class
networking_cisco.tests.unit.cisco.device_manager.device_manager_test_support.
TestCorePlugin
¶ Bases:
neutron.tests.unit.extensions.test_l3.TestNoL3NatPlugin
,networking_cisco.plugins.cisco.db.scheduler.cfg_agentschedulers_db.CfgAgentSchedulerDbMixin
,networking_cisco.plugins.cisco.db.device_manager.hosting_device_manager_db.HostingDeviceManagerMixin
-
cleanup_after_test
()¶ This function should be called in the TearDown() function of test classes that use the plugin.
Reset all class variables to their default values. This is needed to avoid tests to pollute subsequent tests.
-
supported_extension_aliases
= [‘agent’, ‘external-net’, ‘cisco-cfg-agent-scheduler’, ‘dev_mgr’]¶
-