The ironic.tests.unit.objects.test_objects Module

The ironic.tests.unit.objects.test_objects Module

class ironic.tests.unit.objects.test_objects.MyObj(context=None, **kwargs)[source]

Bases: ironic.objects.base.IronicObject, oslo_versionedobjects.base.VersionedObjectDictCompat

marco(*args, **kwargs)[source]
modify_save_modify(*args, **kwargs)[source]
obj_load_attr(attrname)[source]
classmethod query(context, *args, **kwargs)[source]
refresh(*args, **kwargs)[source]
save(*args, **kwargs)[source]
update_test(*args, **kwargs)[source]
class ironic.tests.unit.objects.test_objects.MyObj2[source]

Bases: object

classmethod get(context, *args, **kwargs)[source]
classmethod obj_name()[source]
class ironic.tests.unit.objects.test_objects.TestObject(*args, **kwds)[source]

Bases: ironic.tests.unit.objects.test_objects._LocalTest, ironic.tests.unit.objects.test_objects._TestObject

class ironic.tests.unit.objects.test_objects.TestObjectSerializer(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

test__process_object_api()[source]
test__process_object_conductor()[source]
test__process_object_convert_api()[source]
test__process_object_convert_conductor()[source]
test_deserialize_entity_newer_revision_does_not_backport()[source]

Test object with supported (newer) revision

test_deserialize_entity_newer_revision_does_not_backport_zero()[source]

Test object with supported revision

test_deserialize_entity_newer_version_backports()[source]

Test object with unsupported (newer) version

test_deserialize_entity_newer_version_passes_revision()[source]

Test object with unsupported (newer) version and revision

test_deserialize_entity_pin_ignored(*args, **keywargs)[source]
test_deserialize_entity_same_revision_does_not_backport()[source]

Test object with supported revision

test_object_serialization()[source]
test_object_serialization_iterables()[source]
test_serialize_entity_invalid_pin(*args, **keywargs)[source]
test_serialize_entity_pinned_api(*args, **keywargs)[source]

Test single element serializer with backport to pinned version.

test_serialize_entity_pinned_conductor(*args, **keywargs)[source]

Test single element serializer with backport to pinned version.

test_serialize_entity_unpinned_api(*args, **keywargs)[source]

Test single element serializer with no backport, unpinned.

test_serialize_entity_unpinned_conductor(*args, **keywargs)[source]

Test single element serializer with no backport, unpinned.

class ironic.tests.unit.objects.test_objects.TestObjectVersions(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

test_object_version_check()[source]
class ironic.tests.unit.objects.test_objects.TestRegistry(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

test_hook_chooses_newer_properly(*args, **keywargs)[source]
test_hook_keeps_newer_properly(*args, **keywargs)[source]
class ironic.tests.unit.objects.test_objects.TestSubclassedObject(context=None, **kwargs)[source]

Bases: ironic.tests.unit.objects.test_objects.MyObj

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.