The ironic_python_agent.tests.unit.test_utils Module

class ironic_python_agent.tests.unit.test_utils.ExecuteTestCase(*args, **kwargs)[source]

Bases: testtools.testcase.TestCase

This class is a copy of the same class in openstack/ironic.

test_check_exit_code_boolean()[source]
test_no_retry_on_success()[source]
test_retry_on_failure()[source]
test_unknown_kwargs_raises_error()[source]
class ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

test__get_vmedia_device(*args, **keywargs)[source]
test__get_vmedia_params_by_device(*args, **keywargs)[source]
test__get_vmedia_params_by_label_lower_case(*args, **keywargs)[source]
test__get_vmedia_params_by_label_upper_case(*args, **keywargs)[source]
test__get_vmedia_params_cannot_find_dev(*args, **keywargs)[source]
test__get_vmedia_params_mount_fails(*args, **keywargs)[source]
test__get_vmedia_params_rmtree_fails(*args, **keywargs)[source]
test__get_vmedia_params_umount_fails(*args, **keywargs)[source]
test__read_params_from_file(*args, **keywargs)[source]
test__read_params_from_file_fail(*args, **keywargs)[source]
test_get_agent_params_from_cache(*args, **keywargs)[source]
test_get_agent_params_kernel_cmdline(*args, **keywargs)[source]
test_get_agent_params_vmedia(*args, **keywargs)[source]
test_parse_root_device_hints(*args, **keywargs)[source]
test_parse_root_device_hints_no_hints(*args, **keywargs)[source]
test_parse_root_device_hints_wwn(*args, **keywargs)[source]
test_parse_root_device_not_supported(*args, **keywargs)[source]
test_parse_root_device_size(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_utils.TestFailures(*args, **kwargs)[source]

Bases: testtools.testcase.TestCase

test_get_error()[source]
test_raise()[source]

Previous topic

The ironic_python_agent.tests.unit.test_netutils Module

Next topic

The ironic_python_agent.utils Module

Project Source

This Page