Test class for iRMC Power Driver
-
class ironic.tests.unit.drivers.modules.irmc.test_power.IRMCPowerInternalMethodsTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp()[source]
-
test__set_power_state_invalid_target_state(*args, **keywargs)[source]
-
test__set_power_state_power_off_ok(*args, **keywargs)[source]
-
test__set_power_state_power_on_ok(*args, **keywargs)[source]
-
test__set_power_state_power_reboot_ok(*args, **keywargs)[source]
-
test__set_power_state_scci_exception(*args, **keywargs)[source]
-
class ironic.tests.unit.drivers.modules.irmc.test_power.IRMCPowerTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp()[source]
-
test_get_power_state(*args, **keywargs)[source]
-
test_get_properties()[source]
-
test_reboot_power_on(*args, **keywargs)[source]
-
test_reboot_reboot(*args, **keywargs)[source]
-
test_set_power_state(*args, **keywargs)[source]
-
test_validate(*args, **keywargs)[source]
-
test_validate_fail(*args, **keywargs)[source]