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, **kwargs)[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, **kwargs)[source]

Bases: ironic.tests.base.TestCase

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_same_revision_does_not_backport()[source]

Test object with supported revision

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

Bases: ironic.tests.base.TestCase

test_object_version_check()[source]
class ironic.tests.unit.objects.test_objects.TestRegistry(*args, **kwargs)[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

Project Source

This Page