Test class for IloPower module.
-
class ironic.tests.unit.drivers.modules.ilo.test_power.IloPowerInternalMethodsTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp()[source]
-
test__attach_boot_iso_if_needed(*args, **keywargs)[source]
-
test__attach_boot_iso_if_needed_on_rebuild(*args, **keywargs)[source]
-
test__get_power_state(*args, **keywargs)[source]
-
test__get_power_state_fail(*args, **keywargs)[source]
-
test__set_power_state_invalid_state(*args, **keywargs)[source]
-
test__set_power_state_off_fail(*args, **keywargs)[source]
-
test__set_power_state_on_ok(*args, **keywargs)[source]
-
test__set_power_state_reboot_fail(*args, **keywargs)[source]
-
test__set_power_state_reboot_ok(*args, **keywargs)[source]
-
class ironic.tests.unit.drivers.modules.ilo.test_power.IloPowerTestCase(*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(*args, **keywargs)[source]
-
test_set_power_state(*args, **keywargs)[source]
-
test_validate(*args, **keywargs)[source]
-
test_validate_fail(*args, **keywargs)[source]