The magnumclient.tests.test_utils
Module¶
-
class
magnumclient.tests.test_utils.
ArgsArrayToPatchTest
(*args, **kwargs)¶ Bases:
magnumclient.tests.utils.BaseTestCase
-
test_args_array_to_patch
()¶
-
test_args_array_to_patch_format_error
()¶
-
test_args_array_to_patch_invalid_op
()¶
-
test_args_array_to_patch_remove
()¶
-
-
class
magnumclient.tests.test_utils.
CliUtilsTest
(*args, **kwargs)¶ Bases:
magnumclient.tests.utils.BaseTestCase
-
test_keys_and_vals_to_strs
()¶
-
-
class
magnumclient.tests.test_utils.
CommonFiltersTest
(*args, **kwargs)¶ Bases:
magnumclient.tests.utils.BaseTestCase
-
test_limit
()¶
-
test_limit_0
()¶
-
test_limit_negative_number
()¶
-
test_other
()¶
-
-
class
magnumclient.tests.test_utils.
FormatLabelsTest
(*args, **kwargs)¶ Bases:
magnumclient.tests.utils.BaseTestCase
-
test_format_label_none
()¶
-
test_format_label_special_label
()¶
-
test_format_labels
()¶
-
test_format_labels_mix_commas_semicolon
()¶
-
test_format_labels_multiple
()¶
-
test_format_labels_multiple_colon_values
()¶
-
test_format_labels_multiple_values_per_labels
()¶
-
test_format_labels_parse_comma_false
()¶
-
test_format_labels_semicolon
()¶
-
test_format_labels_split
()¶
-
test_format_multiple_bad_label
()¶
-
-
class
magnumclient.tests.test_utils.
HandleJsonFromFileTest
(*args, **kwargs)¶ Bases:
magnumclient.tests.utils.BaseTestCase
-
test_handle_json_from_file_bad_json
()¶
-
test_handle_json_from_file_open_fail
(*args, **keywargs)¶
-
test_handle_json_from_file_valid_file
()¶
-
-
class
magnumclient.tests.test_utils.
SplitAndDeserializeTest
(*args, **kwargs)¶ Bases:
magnumclient.tests.utils.BaseTestCase
-
test_split_and_deserialize
()¶
-
test_split_and_deserialize_fail
()¶
-