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

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, **kwds)[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, **kwds)[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]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.