The networking_generic_switch.tests.unit.netmiko.test_netmiko_base Module

The networking_generic_switch.tests.unit.netmiko.test_netmiko_base Module

class networking_generic_switch.tests.unit.netmiko.test_netmiko_base.NetmikoSwitchTestBase(methodName='runTest')

Bases: fixtures.testcase.TestWithFixtures

setUp()

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

class networking_generic_switch.tests.unit.netmiko.test_netmiko_base.TestNetmikoSwitch(methodName='runTest')

Bases: networking_generic_switch.tests.unit.netmiko.test_netmiko_base.NetmikoSwitchTestBase

test__format_commands()
test__get_connection_caller_failure(m_conn_handler, m_stop, m_wait)
test__get_connection_connect_fail(m_conn_handler, m_stop, m_wait)
test__get_connection_timeout(m_conn_handler, m_stop, m_wait)
test_add_network(m_check, m_sctd)
test_add_network_with_trunk_ports(m_check, m_sctd)
test_check_output()
test_check_output_error()
test_del_network(m_check, m_sctd)
test_del_network_with_trunk_ports(m_check, m_sctd)
test_delete_port(m_check, m_sctd)
test_delete_port_disable_inactive(m_check, m_sctd)
test_delete_port_has_default_vlan(m_check, m_sctd)
test_plug_port_has_default_vlan(m_check, m_sctd)
test_plug_port_to_network(m_check, m_sctd)
test_plug_port_to_network_disable_inactive(m_check, m_sctd)
test_save_configuration()
test_save_configuration_with_NotImplementedError()
test_send_commands_to_device(save_mock, send_mock, gc_mock)
test_send_commands_to_device_empty(gc_mock)
test_send_commands_to_device_save_failure(save_mock, gc_mock)
test_send_commands_to_device_save_ngs_failure(save_mock, gc_mock)
test_send_commands_to_device_send_failure(gc_mock)
test_send_commands_to_device_send_ngs_failure(gc_mock)
test_send_config_set()
test_switch_send_commands_with_coordinator(get_coord_mock, nm_mock, lock_mock)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.