The ironic.tests.unit.drivers.modules.test_ipminative Module

Test class for Native IPMI power driver module.

class ironic.tests.unit.drivers.modules.test_ipminative.IPMINativeDriverTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

Test cases for ipminative.NativeIPMIPower class functions.

setUp()[source]
test_bmc_reset_cold()[source]
test_bmc_reset_warm()[source]
test_force_set_boot_device_ok(*args, **keywargs)[source]
test_get_console(*args, **keywargs)[source]
test_get_force_boot_device_persistent()[source]
test_get_power_state(*args, **keywargs)[source]
test_get_properties()[source]
test_get_sensors_data(*args, **keywargs)[source]
test_management_interface_get_boot_device_fail(*args, **keywargs)[source]
test_management_interface_get_boot_device_fail_dict(*args, **keywargs)[source]
test_management_interface_get_boot_device_good(*args, **keywargs)[source]
test_management_interface_get_boot_device_persistent(*args, **keywargs)[source]
test_management_interface_get_boot_device_unknown(*args, **keywargs)[source]
test_management_interface_get_supported_boot_devices()[source]
test_management_interface_validate_fail()[source]
test_management_interface_validate_good()[source]
test_reboot_fail(*args, **keywargs)[source]
test_reboot_ok(*args, **keywargs)[source]
test_send_raw(*args, **keywargs)[source]
test_set_boot_device_bad_device()[source]
test_set_boot_device_ok(*args, **keywargs)[source]
test_set_boot_device_uefi(*args, **keywargs)[source]
test_set_boot_device_uefi_and_persistent(*args, **keywargs)[source]
test_set_boot_device_with_persistent(*args, **keywargs)[source]
test_set_power_off_ok(*args, **keywargs)[source]
test_set_power_on_fail(*args, **keywargs)[source]
test_set_power_on_ok(*args, **keywargs)[source]
test_set_power_on_with_next_boot(*args, **keywargs)[source]
test_start_console(*args, **keywargs)[source]
test_start_console_fail(*args, **keywargs)[source]
test_stop_console(*args, **keywargs)[source]
test_stop_console_fail(*args, **keywargs)[source]
test_vendor_passthru_validate__send_raw_bytes_fail()[source]
test_vendor_passthru_validate__send_raw_bytes_good(*args, **keywargs)[source]
test_vendor_passthru_vendor_routes()[source]
class ironic.tests.unit.drivers.modules.test_ipminative.IPMINativePrivateMethodTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

Test cases for ipminative private methods.

setUp()[source]
test__get_sensors_data(*args, **keywargs)[source]
test__get_sensors_data_missing_values(*args, **keywargs)[source]
test__parse_driver_info()[source]
test__parse_raw_bytes_invalid_value()[source]
test__parse_raw_bytes_missing_byte()[source]
test__parse_raw_bytes_ok()[source]
test__power_off(*args, **keywargs)[source]
test__power_on(*args, **keywargs)[source]
test__power_status_error(*args, **keywargs)[source]
test__power_status_off(*args, **keywargs)[source]
test__power_status_on(*args, **keywargs)[source]
test__reboot(*args, **keywargs)[source]
test__send_raw(*args, **keywargs)[source]
test__send_raw_fail(*args, **keywargs)[source]

Project Source

This Page