The ironic.tests.unit.objects.test_node Module

class ironic.tests.unit.objects.test_node.TestNodeObject(*args, **kwargs)[source]

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

setUp()[source]
test__validate_property_values_success()[source]
test_create()[source]
test_create_with_invalid_properties()[source]
test_get_bad_id_and_uuid()[source]
test_get_by_id()[source]
test_get_by_port_addresses()[source]
test_get_by_uuid()[source]
test_list()[source]
test_payload_schemas()[source]

Assert that the node’s Payload SCHEMAs have the expected properties.

A payload’s SCHEMA should:

  1. Have each of its keys in the payload’s fields
  2. Have each member of the schema match with a corresponding field in the Node object
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_touch_provisioning()[source]
test_update_with_invalid_properties()[source]