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

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__is_expected_power_state()[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_reboot_ok(*args, **keywargs)[source]
test__set_power_state_scci_exception(*args, **keywargs)[source]
test__set_power_state_snmp_exception(*args, **keywargs)[source]
test__set_power_state_soft_power_off_ok(*args, **keywargs)[source]
test__set_power_state_soft_reboot_ok(*args, **keywargs)[source]
test__wait_power_state_soft_power_off(*args, **keywargs)[source]
test__wait_power_state_soft_reboot(*args, **keywargs)[source]
test__wait_power_state_timeout(*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_power_on_timeout(*args, **keywargs)[source]
test_reboot_reboot(*args, **keywargs)[source]
test_reboot_reboot_timeout(*args, **keywargs)[source]
test_set_power_state(*args, **keywargs)[source]
test_set_power_state_timeout(*args, **keywargs)[source]
test_validate(*args, **keywargs)[source]
test_validate_fail(*args, **keywargs)[source]