Test class for common methods used by iRMC modules.
-
class
ironic.tests.unit.drivers.modules.irmc.test_common.
IRMCCommonMethodsTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test_get_irmc_client
(*args, **keywargs)[source]
-
test_get_irmc_report
(*args, **keywargs)[source]
-
test_out_range_auth_method
()[source]
-
test_out_range_port
()[source]
-
test_out_range_sensor_method
()[source]
-
test_update_ipmi_properties
()[source]
-
class
ironic.tests.unit.drivers.modules.irmc.test_common.
IRMCValidateParametersTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test_parse_driver_info
()[source]
-
test_parse_driver_info_empty_snmp_security
()[source]
-
test_parse_driver_info_invalid_auth_method
()[source]
-
test_parse_driver_info_invalid_port
()[source]
-
test_parse_driver_info_invalid_sensor_method
()[source]
-
test_parse_driver_info_invalid_snmp_port
()[source]
-
test_parse_driver_info_invalid_snmp_security
()[source]
-
test_parse_driver_info_invalid_snmp_version
()[source]
-
test_parse_driver_info_invalid_timeout
()[source]
-
test_parse_driver_info_missing_address
()[source]
-
test_parse_driver_info_missing_multiple_params
()[source]
-
test_parse_driver_info_missing_password
()[source]
-
test_parse_driver_info_missing_username
()[source]
-
test_parse_driver_option_default
()[source]