The ironic_lib.tests.test_utils Module

class ironic_lib.tests.test_utils.BareMetalUtilsTestCase(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

class ironic_lib.tests.test_utils.ExecuteTestCase(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

test_check_exit_code_boolean()[source]
test_execute_not_use_standard_locale(*args, **keywargs)[source]
test_execute_use_standard_locale_no_env_variables(*args, **keywargs)[source]
test_execute_use_standard_locale_with_env_variables(*args, **keywargs)[source]
test_execute_with_log_stdout_default()[source]
test_execute_with_log_stdout_false()[source]
test_execute_with_log_stdout_true()[source]
test_execute_with_root_helper()[source]
test_execute_with_root_helper_run_as_root()[source]
test_execute_without_root_helper()[source]
test_execute_without_root_helper_run_as_root()[source]
test_no_retry_on_success()[source]
test_retry_on_failure()[source]
test_unknown_kwargs_raises_error()[source]
class ironic_lib.tests.test_utils.IsHttpUrlTestCase(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

test_is_http_url()[source]
class ironic_lib.tests.test_utils.MkfsTestCase(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

test_mkfs(*args, **keywargs)[source]
test_mkfs_with_label(*args, **keywargs)[source]
test_mkfs_with_unexpected_error(*args, **keywargs)[source]
test_mkfs_with_unsupported_fs(*args, **keywargs)[source]
class ironic_lib.tests.test_utils.ParseRootDeviceTestCase(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_parse_root_device_hints()[source]
test_parse_root_device_hints_convert_rotational()[source]
test_parse_root_device_hints_convert_size()[source]
test_parse_root_device_hints_invalid_rotational()[source]
test_parse_root_device_hints_invalid_size()[source]
test_parse_root_device_hints_no_hints()[source]
test_parse_root_device_hints_non_existent_hint()[source]

Previous topic

The ironic_lib.tests.test_metrics_utils Module

Next topic

The ironic_lib.utils Module

Project Source

This Page