The ironic_python_agent.tests.unit.test_inspector Module

class ironic_python_agent.tests.unit.test_inspector.AcceptingFailure(spec=None, side_effect=None, return_value=sentinel.DEFAULT, wraps=None, name=None, spec_set=None, parent=None, _spec_state=None, _new_name='', _new_parent=None, **kwargs)[source]

Bases: mock.mock.Mock

assert_called_with_failure(expect_error=False)[source]
class ironic_python_agent.tests.unit.test_inspector.BaseDiscoverTest(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
class ironic_python_agent.tests.unit.test_inspector.TestCallInspector(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_inspector_error(*args, **keywargs)[source]
test_ok(*args, **keywargs)[source]
test_send_failure(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_inspector.TestCollectDefault(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.test_inspector.BaseDiscoverTest

test_no_root_disk(*args, **keywargs)[source]
test_ok(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_inspector.TestCollectExtraHardware(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_benchmarks(*args, **keywargs)[source]
test_execute_failed(*args, **keywargs)[source]
test_no_benchmarks(*args, **keywargs)[source]
test_parsing_failed(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_inspector.TestCollectLogs(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

test(*args, **keywargs)[source]
test_fail(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_inspector.TestCollectPciDevicesInfo(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_bad_pci_device_info(*args, **keywargs)[source]
test_success(*args, **keywargs)[source]
test_wrong_path(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_inspector.TestInspect(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_collector_failed(*args, **keywargs)[source]
test_collectors_option(*args, **keywargs)[source]
test_extensions_failed(*args, **keywargs)[source]
test_inspector_error(*args, **keywargs)[source]
test_ok(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_inspector.TestMisc(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

test_default_collector_loadable()[source]
test_raise_on_wrong_collector()[source]
class ironic_python_agent.tests.unit.test_inspector.TestNormalizeMac(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

test_correct_mac()[source]
test_pxelinux_mac()[source]
class ironic_python_agent.tests.unit.test_inspector.TestSetupIpmiCredentials(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_disabled(*args, **keywargs)[source]
test_ok(*args, **keywargs)[source]
test_password_failed(*args, **keywargs)[source]
test_user_failed(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_inspector.TestWaitForDhcp(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_all(*args, **keywargs)[source]
test_boot_only(*args, **keywargs)[source]
test_disabled(*args, **keywargs)[source]
test_timeout(*args, **keywargs)[source]