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

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

Tests for the API /chassis/ methods.

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

Bases: ironic.tests.base.TestCase

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

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

test_delete_chassis(*args, **keywargs)[source]
test_delete_chassis_not_found()[source]
test_delete_chassis_with_node(*args, **keywargs)[source]
test_delete_nodes_subresource()[source]
class ironic.tests.unit.api.controllers.v1.test_chassis.TestListChassis(*args, **kwds)[source]

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

test_detail()[source]
test_detail_against_single()[source]
test_empty()[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_many()[source]
test_nodes_subresource()[source]
test_nodes_subresource_chassis_not_found()[source]
test_nodes_subresource_no_uuid()[source]
test_one()[source]
test_sort_key()[source]
test_sort_key_invalid()[source]
class ironic.tests.unit.api.controllers.v1.test_chassis.TestPatch(*args, **kwds)[source]

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

setUp()[source]
test_add_multi()[source]
test_add_root()[source]
test_add_root_non_existent()[source]
test_patch_nodes_subresource()[source]
test_remove_multi()[source]
test_remove_non_existent_property_fail()[source]
test_remove_singular()[source]
test_remove_uuid()[source]
test_replace_multi()[source]
test_replace_singular(*args, **keywargs)[source]
test_update_error(*args, **keywargs)[source]
test_update_not_found()[source]
class ironic.tests.unit.api.controllers.v1.test_chassis.TestPost(*args, **kwds)[source]

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

test_create_chassis(*args, **keywargs)[source]
test_create_chassis_doesnt_contain_id()[source]
test_create_chassis_error(*args, **keywargs)[source]
test_create_chassis_generate_uuid(*args, **keywargs)[source]
test_create_chassis_invalid_description()[source]
test_create_chassis_toolong_description()[source]
test_create_chassis_unicode_description()[source]
test_create_chassis_valid_extra()[source]
test_post_nodes_subresource()[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.