The ironic.tests.unit.drivers.modules.ilo.test_inspect Module

Test class for Management Interface used by iLO modules.

class ironic.tests.unit.drivers.modules.ilo.test_inspect.IloInspectTestCase(*args, **kwargs)[source]

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

setUp()[source]
test_get_properties()[source]
test_inspect_essential_capabilities_exist_ok(*args, **keywargs)[source]
test_inspect_essential_capabilities_ok(*args, **keywargs)[source]
test_inspect_essential_ok(*args, **keywargs)[source]
test_inspect_essential_ok_power_off(*args, **keywargs)[source]
test_validate(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.ilo.test_inspect.TestInspectPrivateMethods(*args, **kwargs)[source]

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

setUp()[source]
test__create_ports_if_not_exist(*args, **keywargs)[source]
test__create_ports_if_not_exist_mac_exception(*args, **keywargs)[source]
test__get_capabilities_ok(*args, **keywargs)[source]
test__get_essential_properties_fail()[source]
test__get_essential_properties_fail_invalid_format()[source]
test__get_essential_properties_fail_mac_invalid_format()[source]
test__get_essential_properties_hardware_port_empty()[source]
test__get_essential_properties_hardware_port_not_dict()[source]
test__get_essential_properties_ok()[source]
test__validate_essential_keys_fail_missing_key()[source]
test__validate_ok()[source]

Project Source

This Page