The ironic.tests.unit.drivers.modules.irmc.test_management Module

Test class for iRMC Management Driver

class ironic.tests.unit.drivers.modules.irmc.test_management.IRMCManagementTestCase(*args, **kwargs)[source]

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

setUp()[source]
test_get_properties()[source]
test_management_interface_get_sensors_data_exception(*args, **keywargs)[source]

‘FailedToGetSensorData Exception.

test_management_interface_get_sensors_data_ipmitool_ok(*args, **keywargs)[source]

‘irmc_sensor_method’ = ‘ipmitool’ specified.

test_management_interface_get_sensors_data_scci_ng(*args, **keywargs)[source]

‘irmc_sensor_method’ = ‘scci’ specified and NG data.

test_management_interface_get_sensors_data_scci_ok(*args, **keywargs)[source]

‘irmc_sensor_method’ = ‘scci’ specified and OK data.

test_management_interface_get_supported_boot_devices()[source]
test_management_interface_set_boot_device_ng(*args, **keywargs)[source]

uefi mode, next boot only, unknown device.

test_management_interface_set_boot_device_ok_bios()[source]
test_management_interface_set_boot_device_ok_cdrom()[source]
test_management_interface_set_boot_device_ok_disk()[source]
test_management_interface_set_boot_device_ok_pxe()[source]
test_management_interface_set_boot_device_ok_safe()[source]
test_validate(*args, **keywargs)[source]
test_validate_fail(*args, **keywargs)[source]

Project Source

This Page