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

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

Tests for the API /volume connectors/ methods.

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

Bases: ironic.tests.unit.api.base.BaseApiTest

setUp()[source]
test_delete_volume_connector_byid(*args, **keywargs)[source]
test_delete_volume_connector_byid_invalid_api_version(*args, **keywargs)[source]
test_delete_volume_connector_invalid_power_state(*args, **keywargs)[source]
test_delete_volume_connector_node_locked(*args, **keywargs)[source]
class ironic.tests.unit.api.controllers.v1.test_volume_connector.TestListVolumeConnectors(*args, **kwds)[source]

Bases: ironic.tests.unit.api.base.BaseApiTest

setUp()[source]
test_detail()[source]
test_detail_against_single()[source]
test_detail_and_fields()[source]
test_detail_by_node_name_ok(*args, **keywargs)[source]
test_detail_false()[source]
test_detail_invalid_api_version()[source]
test_detail_sepecified_by_path()[source]
test_empty()[source]
test_get_all_by_node_name_ok(*args, **keywargs)[source]
test_get_collection_custom_fields()[source]
test_get_custom_fields_invalid_api_version()[source]
test_get_custom_fields_invalid_fields()[source]
test_get_one()[source]
test_get_one_custom_fields()[source]
test_get_one_invalid_api_version()[source]
test_many()[source]
test_one()[source]
test_one_invalid_api_version()[source]
test_sort_key()[source]
test_sort_key_invalid()[source]
class ironic.tests.unit.api.controllers.v1.test_volume_connector.TestPatch(*args, **kwds)[source]

Bases: ironic.tests.unit.api.base.BaseApiTest

setUp()[source]
test_add_multi(*args, **keywargs)[source]
test_add_node_id(*args, **keywargs)[source]
test_add_node_uuid(*args, **keywargs)[source]
test_add_node_uuid_invalid_type(*args, **keywargs)[source]
test_add_root(*args, **keywargs)[source]
test_add_root_non_existent(*args, **keywargs)[source]
test_remove_mandatory_field(*args, **keywargs)[source]
test_remove_multi(*args, **keywargs)[source]
test_remove_node_id(*args, **keywargs)[source]
test_remove_non_existent_property_fail(*args, **keywargs)[source]
test_remove_uuid(*args, **keywargs)[source]
test_replace_connector_id_already_exist(*args, **keywargs)[source]
test_replace_invalid_power_state(*args, **keywargs)[source]
test_replace_multi(*args, **keywargs)[source]
test_replace_node_id(*args, **keywargs)[source]
test_replace_node_uuid(*args, **keywargs)[source]
test_replace_node_uuid_invalid_type(*args, **keywargs)[source]
test_replace_non_existent_node_uuid(*args, **keywargs)[source]
test_replace_singular(*args, **keywargs)[source]
test_update_byid(*args, **keywargs)[source]
test_update_invalid_api_version(*args, **keywargs)[source]
test_update_not_found(*args, **keywargs)[source]
class ironic.tests.unit.api.controllers.v1.test_volume_connector.TestPost(*args, **kwds)[source]

Bases: ironic.tests.unit.api.base.BaseApiTest

setUp()[source]
test_create_volume_connector(*args, **keywargs)[source]
test_create_volume_connector_doesnt_contain_id()[source]
test_create_volume_connector_error(*args, **keywargs)[source]
test_create_volume_connector_generate_uuid(*args, **keywargs)[source]
test_create_volume_connector_invalid_api_version()[source]
test_create_volume_connector_invalid_node_uuid_format()[source]
test_create_volume_connector_no_mandatory_field_connector_id()[source]
test_create_volume_connector_no_mandatory_field_node_uuid()[source]
test_create_volume_connector_no_mandatory_field_type()[source]
test_create_volume_connector_node_uuid_not_found()[source]
test_create_volume_connector_type_value_already_exist()[source]
test_create_volume_connector_valid_extra()[source]
test_node_uuid_to_node_id_mapping()[source]
class ironic.tests.unit.api.controllers.v1.test_volume_connector.TestVolumeConnectorObject(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

test_volume_connector_init()[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.