The ironic_python_agent.tests.unit.test_multi_hardware Module

class ironic_python_agent.tests.unit.test_multi_hardware.FakeGenericHardwareManager[source]

Bases: ironic_python_agent.hardware.HardwareManager

both_succeed(*args, **kwargs)[source]
evaluate_hardware_support(*args, **kwargs)[source]
generic_none(*args, **kwargs)[source]
generic_only(*args, **kwargs)[source]
mainline_fail(*args, **kwargs)[source]
return_list(*args, **kwargs)[source]
specific_none(*args, **kwargs)[source]
specific_only(*args, **kwargs)[source]
unexpected_fail(*args, **kwargs)[source]
class ironic_python_agent.tests.unit.test_multi_hardware.FakeMainlineHardwareManager[source]

Bases: ironic_python_agent.hardware.HardwareManager

both_succeed(*args, **kwargs)[source]
evaluate_hardware_support(*args, **kwargs)[source]
generic_none(*args, **kwargs)[source]
mainline_fail(*args, **kwargs)[source]
return_list(*args, **kwargs)[source]
specific_none(*args, **kwargs)[source]
specific_only(*args, **kwargs)[source]
unexpected_fail(*args, **kwargs)[source]
class ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_both_succeed()[source]
test_dispatch_to_all_managers_both_succeed()[source]
test_dispatch_to_all_managers_generic_method_only()[source]
test_dispatch_to_all_managers_mainline_fails()[source]
test_dispatch_to_all_managers_mainline_only()[source]
test_dispatch_to_all_managers_manager_method_not_found()[source]
test_dispatch_to_all_managers_method_fails()[source]
test_generic_method_only()[source]
test_mainline_fails()[source]
test_mainline_method_only()[source]
test_manager_method_not_found()[source]
test_method_fails()[source]
class ironic_python_agent.tests.unit.test_multi_hardware.TestNoHardwareManagerLoading(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_no_managers_found(*args, **keywargs)[source]