Test class for UcsPower module.
-
class
ironic.tests.unit.drivers.modules.ucs.test_power.
UcsPowerTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test__wait_for_state_change_already_target_state
(*args, **keywargs)[source]
-
test__wait_for_state_change_exceed_iterations
(*args, **keywargs)[source]
-
test_get_power_state_down
(*args, **keywargs)[source]
-
test_get_power_state_error
(*args, **keywargs)[source]
-
test_get_power_state_fail
(*args, **keywargs)[source]
-
test_get_power_state_up
(*args, **keywargs)[source]
-
test_get_properties
()[source]
-
test_reboot
(*args, **keywargs)[source]
-
test_reboot__wait_state_change_fail
(*args, **keywargs)[source]
-
test_reboot_fail
(*args, **keywargs)[source]
-
test_set_and_wait_for_state_change_fail
(*args, **keywargs)[source]
-
test_set_power_state
(*args, **keywargs)[source]
-
test_set_power_state_fail
(*args, **keywargs)[source]
-
test_set_power_state_invalid_state
(*args, **keywargs)[source]
-
test_validate
(*args, **keywargs)[source]
-
test_validate_fail
(*args, **keywargs)[source]