The ironic.tests.unit.api.v1.test_utils Module

class ironic.tests.unit.api.v1.test_utils.TestApiUtils(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_allow_network_interface(*args, **keywargs)[source]
test_allow_port_advanced_net_fields(*args, **keywargs)[source]
test_allow_port_internal_info(*args, **keywargs)[source]
test_allow_resource_class(*args, **keywargs)[source]
test_check_allow_abort_verbs(*args, **keywargs)[source]
test_check_allow_abort_verbs_fail(*args, **keywargs)[source]
test_check_allow_adopt_verbs(*args, **keywargs)[source]
test_check_allow_adopt_verbs_fail(*args, **keywargs)[source]
test_check_allow_clean_verbs(*args, **keywargs)[source]
test_check_allow_clean_verbs_fail(*args, **keywargs)[source]
test_check_allow_inspect_verbs(*args, **keywargs)[source]
test_check_allow_inspect_verbs_fail(*args, **keywargs)[source]
test_check_allow_manage_verbs(*args, **keywargs)[source]
test_check_allow_manage_verbs_fail(*args, **keywargs)[source]
test_check_allow_provide_verbs(*args, **keywargs)[source]
test_check_allow_provide_verbs_fail(*args, **keywargs)[source]
test_check_allow_specify_driver(*args, **keywargs)[source]
test_check_allow_specify_driver_fail(*args, **keywargs)[source]
test_check_allow_specify_fields(*args, **keywargs)[source]
test_check_allow_specify_fields_fail(*args, **keywargs)[source]
test_check_allow_specify_resource_class(*args, **keywargs)[source]
test_check_allow_specify_resource_class_fail(*args, **keywargs)[source]
test_check_allow_unknown_verbs(*args, **keywargs)[source]
test_check_allowed_fields_network_interface(*args, **keywargs)[source]
test_check_allowed_fields_network_interface_fail(*args, **keywargs)[source]
test_check_allowed_fields_resource_class(*args, **keywargs)[source]
test_check_allowed_fields_resource_class_fail(*args, **keywargs)[source]
test_check_for_invalid_fields()[source]
test_check_for_invalid_fields_fail()[source]
test_get_patch_values_multiple_success()[source]
test_get_patch_values_no_path()[source]
test_get_patch_values_remove()[source]
test_get_patch_values_success()[source]
test_is_path_removed_replace()[source]
test_is_path_removed_similar_subpath()[source]
test_is_path_removed_subpath_success()[source]
test_is_path_removed_success()[source]
test_validate_limit()[source]
test_validate_sort_dir()[source]
class ironic.tests.unit.api.v1.test_utils.TestNodeIdent(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_allow_node_logical_names_post_name(*args, **keywargs)[source]
test_allow_node_logical_names_pre_name(*args, **keywargs)[source]
test_get_rpc_node_by_name_no_logical_name(*args, **keywargs)[source]
test_get_rpc_node_by_uuid_no_logical_name(*args, **keywargs)[source]
test_get_rpc_node_expect_name(*args, **keywargs)[source]
test_get_rpc_node_expect_uuid(*args, **keywargs)[source]
test_get_rpc_node_invalid_name(*args, **keywargs)[source]
test_is_valid_node_name(*args, **keywargs)[source]
class ironic.tests.unit.api.v1.test_utils.TestVendorPassthru(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_driver_vendor_passthru_async()[source]
test_driver_vendor_passthru_sync()[source]
test_get_controller_reserved_names()[source]
test_method_not_specified()[source]
test_vendor_passthru_async()[source]
test_vendor_passthru_attach()[source]
test_vendor_passthru_attach_byte_to_byte()[source]
test_vendor_passthru_attach_unicode_to_byte()[source]
test_vendor_passthru_sync()[source]

Project Source

This Page