The ironicclient.tests.unit.common.test_utils Module

The ironicclient.tests.unit.common.test_utils Module

class ironicclient.tests.unit.common.test_utils.CommonFiltersTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

test_fields()[source]
test_limit()[source]
test_limit_0()[source]
test_other()[source]
class ironicclient.tests.unit.common.test_utils.CommonParamsForListTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

setUp()[source]
test_detail()[source]
test_fields()[source]
test_invalid_limit()[source]
test_marker_and_limit()[source]
test_nothing_set()[source]
test_sort_dir_invalid()[source]
test_sort_key_allows_label()[source]
test_sort_key_and_sort_dir()[source]
test_sort_key_invalid()[source]
class ironicclient.tests.unit.common.test_utils.GetFromStdinTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

test_get_from_stdin(*args, **keywargs)[source]
test_get_from_stdin_fail(*args, **keywargs)[source]
class ironicclient.tests.unit.common.test_utils.HandleJsonFileTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

test_handle_json_or_file_arg()[source]
test_handle_json_or_file_arg_bad_json()[source]
test_handle_json_or_file_arg_file()[source]
test_handle_json_or_file_arg_file_fail(*args, **keywargs)[source]
class ironicclient.tests.unit.common.test_utils.MakeConfigDriveTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

setUp()[source]
test_make_configdrive(*args, **keywargs)[source]
test_make_configdrive_non_readable_dir(*args, **keywargs)[source]
test_make_configdrive_non_zero_returncode(*args, **keywargs)[source]
test_make_configdrive_oserror(*args, **keywargs)[source]
class ironicclient.tests.unit.common.test_utils.UtilsTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

test_args_array_to_dict()[source]
test_args_array_to_patch()[source]
test_args_array_to_patch_format_error()[source]
test_args_array_to_patch_remove()[source]
test_bool_arg_value()[source]
test_check_for_invalid_fields()[source]
test_convert_list_props_to_comma_separated_mix()[source]
test_convert_list_props_to_comma_separated_partial()[source]
test_convert_list_props_to_comma_separated_strings()[source]
test_key_value_pairs_to_dict()[source]
test_key_value_pairs_to_dict_nothing()[source]
test_split_and_deserialize()[source]
test_split_and_deserialize_fail()[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.