The ironic.tests.unit.objects.test_node Module

The ironic.tests.unit.objects.test_node Module

class ironic.tests.unit.objects.test_node.TestConvertToVersion(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_rescue_supported_missing()[source]
test_rescue_supported_set()[source]
test_rescue_unsupported_missing()[source]
test_rescue_unsupported_set_no_remove_default()[source]
test_rescue_unsupported_set_no_remove_non_default()[source]
test_rescue_unsupported_set_remove()[source]
test_trait_unsupported_set_no_remove_default()[source]
test_trait_unsupported_set_no_remove_non_default()[source]
test_traits_supported_missing()[source]
test_traits_supported_set()[source]
test_traits_unsupported_missing()[source]
test_traits_unsupported_missing_remove()[source]
class ironic.tests.unit.objects.test_node.TestNodeObject(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase, ironic.tests.unit.objects.utils.SchemasTestMixIn

setUp()[source]
test__validate_property_values_success()[source]
test_as_dict_insecure()[source]
test_as_dict_secure()[source]
test_as_dict_with_traits()[source]
test_create()[source]
test_create_with_invalid_properties()[source]
test_create_with_traits()[source]
test_get_bad_id_and_uuid()[source]
test_get_by_id()[source]
test_get_by_instance_not_found()[source]
test_get_by_instance_uuid()[source]
test_get_by_name()[source]
test_get_by_name_node_not_found()[source]
test_get_by_port_addresses()[source]
test_get_by_uuid()[source]
test_list()[source]
test_payload_schemas()[source]
test_refresh()[source]
test_release()[source]
test_release_node_not_found()[source]
test_reserve()[source]
test_reserve_node_not_found()[source]
test_save()[source]
test_save_after_refresh()[source]
test_save_updated_at_field()[source]
test_save_with_traits()[source]
test_touch_provisioning()[source]
test_update_with_invalid_properties()[source]
class ironic.tests.unit.objects.test_node.TestNodePayloads(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_node_corrected_power_state_payload()[source]
test_node_crud_payload()[source]
test_node_payload()[source]
test_node_payload_no_traits()[source]
test_node_payload_traits_is_none()[source]
test_node_set_power_state_payload()[source]
test_node_set_provision_state_payload()[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.