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: oslotest.base.BaseTestCase

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

Bases: oslotest.base.BaseTestCase

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: oslotest.base.BaseTestCase

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: oslotest.base.BaseTestCase

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

Bases: oslotest.base.BaseTestCase

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.TestDiscoverNetworkProperties(*args, **kwds)[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(*args, **kwds)[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(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

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: oslotest.base.BaseTestCase

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

Bases: oslotest.base.BaseTestCase

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

Bases: oslotest.base.BaseTestCase

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: oslotest.base.BaseTestCase

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