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

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

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

Bases: ironic.tests.base.TestCase

test_allow_dynamic_drivers(*args, **keywargs)[source]
test_allow_inject_nmi(*args, **keywargs)[source]
test_allow_network_interface(*args, **keywargs)[source]
test_allow_node_rebuild_with_configdrive(*args, **keywargs)[source]
test_allow_port_advanced_net_fields(*args, **keywargs)[source]
test_allow_port_internal_info(*args, **keywargs)[source]
test_allow_port_physical_network_no_pin(*args, **keywargs)[source]
test_allow_port_physical_network_pin(*args, **keywargs)[source]
test_allow_portgroup_mode_properties(*args, **keywargs)[source]
test_allow_portgroups(*args, **keywargs)[source]
test_allow_portgroups_subcontrollers(*args, **keywargs)[source]
test_allow_ramdisk_endpoints(*args, **keywargs)[source]
test_allow_remove_chassis_uuid(*args, **keywargs)[source]
test_allow_rescue_interface(*args, **keywargs)[source]
test_allow_resource_class(*args, **keywargs)[source]
test_allow_storage_interface(*args, **keywargs)[source]
test_allow_traits(*args, **keywargs)[source]
test_allow_volume(*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_configdrive(*args, **keywargs)[source]
test_check_allow_configdrive_fails(*args, **keywargs)[source]
test_check_allow_driver_detail(*args, **keywargs)[source]
test_check_allow_driver_detail_fail(*args, **keywargs)[source]
test_check_allow_driver_detail_false(*args, **keywargs)[source]
test_check_allow_driver_detail_none(*args, **keywargs)[source]
test_check_allow_filter_driver_type(*args, **keywargs)[source]
test_check_allow_filter_driver_type_fail(*args, **keywargs)[source]
test_check_allow_filter_driver_type_none(*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_rescue_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_allowed_portgroup_fields_mode_properties(*args, **keywargs)[source]
test_check_allowed_portgroup_fields_mode_properties_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_is_path_updated_similar_subpath()[source]
test_is_path_updated_subpath_success()[source]
test_is_path_updated_success()[source]
test_validate_limit()[source]
test_validate_sort_dir()[source]
test_validate_trait()[source]
class ironic.tests.unit.api.controllers.v1.test_utils.TestNodeIdent(*args, **kwds)[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.controllers.v1.test_utils.TestPortgroupIdent(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_get_rpc_portgroup_invalid_name()[source]
test_get_rpc_portgroup_name(*args, **keywargs)[source]
test_get_rpc_portgroup_uuid(*args, **keywargs)[source]
class ironic.tests.unit.api.controllers.v1.test_utils.TestVendorPassthru(*args, **kwds)[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]
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.