The ironic.tests.unit.drivers.modules.test_iboot Module

Test class for iBoot PDU driver module.

class ironic.tests.unit.drivers.modules.test_iboot.IBootDriverTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test__switch_retries(*args, **keywargs)[source]
test_get_power_state(*args, **keywargs)[source]
test_get_properties()[source]
test_reboot_bad(*args, **keywargs)[source]
test_reboot_good(*args, **keywargs)[source]
test_set_power_state_bad(*args, **keywargs)[source]
test_set_power_state_good(*args, **keywargs)[source]
test_set_power_state_invalid_parameter(*args, **keywargs)[source]
test_set_power_state_retry(*args, **keywargs)[source]
test_validate_fails(*args, **keywargs)[source]
test_validate_good(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_iboot.IBootPrivateMethodTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test__parse_driver_info_bad_port()[source]
test__parse_driver_info_bad_relay_id()[source]
test__parse_driver_info_good()[source]
test__parse_driver_info_good_with_explicit_port()[source]
test__parse_driver_info_good_with_explicit_relay_id()[source]
test__parse_driver_info_missing_address()[source]
test__parse_driver_info_missing_password()[source]
test__parse_driver_info_missing_username()[source]
test__power_status_error(*args, **keywargs)[source]
test__power_status_exception(*args, **keywargs)[source]
test__power_status_exception_index_error(*args, **keywargs)[source]
test__power_status_exception_type_error(*args, **keywargs)[source]
test__power_status_off(*args, **keywargs)[source]
test__power_status_on(*args, **keywargs)[source]
test__power_status_retries(*args, **keywargs)[source]

Project Source

This Page