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(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
class ironic_python_agent.tests.unit.test_inspector.TestCallInspector(methodName='runTest')[source]

Bases: unittest.case.TestCase

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(methodName='runTest')[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(methodName='runTest')[source]

Bases: unittest.case.TestCase

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(methodName='runTest')[source]

Bases: unittest.case.TestCase

test(*args, **keywargs)[source]
test_no_journal(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_inspector.TestDiscoverNetworkProperties(methodName='runTest')[source]

Bases: ironic_python_agent.tests.unit.test_inspector.BaseDiscoverTest

test_missing()[source]
test_no_network_interfaces()[source]
test_ok()[source]
class ironic_python_agent.tests.unit.test_inspector.TestDiscoverSchedulingProperties(methodName='runTest')[source]

Bases: ironic_python_agent.tests.unit.test_inspector.BaseDiscoverTest

test_no_local_gb()[source]
test_ok()[source]
class ironic_python_agent.tests.unit.test_inspector.TestInspect(methodName='runTest')[source]

Bases: unittest.case.TestCase

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(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_default_collector_loadable()[source]
test_raise_on_wrong_collector()[source]
class ironic_python_agent.tests.unit.test_inspector.TestNormalizeMac(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_correct_mac()[source]
test_pxelinux_mac()[source]
class ironic_python_agent.tests.unit.test_inspector.TestSetupIpmiCredentials(methodName='runTest')[source]

Bases: unittest.case.TestCase

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(methodName='runTest')[source]

Bases: unittest.case.TestCase

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

Previous topic

The ironic_python_agent.tests.unit.test_hardware Module

Next topic

The ironic_python_agent.tests.unit.test_ironic_api_client Module

Project Source

This Page