The ironic.tests.unit.drivers.modules.msftocs.test_msftocsclient Module

Test class for MSFT OCS REST API client

class ironic.tests.unit.drivers.modules.msftocs.test_msftocsclient.MSFTOCSClientApiTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test__check_completion_code()[source]
test__check_completion_code_fail()[source]
test__check_completion_code_xml_parsing_fail()[source]
test__check_completion_with_bad_completion_code_fail()[source]
test__exec_cmd(*args, **keywargs)[source]
test__exec_cmd_http_get_fail(*args, **keywargs)[source]
test_get_blade_state(*args, **keywargs)[source]
test_get_next_boot(*args, **keywargs)[source]
test_set_blade_off(*args, **keywargs)[source]
test_set_blade_on(*args, **keywargs)[source]
test_set_blade_power_cycle(*args, **keywargs)[source]
test_set_next_boot(*args, **keywargs)[source]

Project Source

This Page