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
-
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_serialize_entity_backport
(*args, **keywargs)[source]¶ Test single element serializer with backport.
-
-
class
ironic.tests.unit.objects.test_objects.
TestObjectVersions
(*args, **kwargs)[source]¶ Bases:
ironic.tests.base.TestCase
-
class
ironic.tests.unit.objects.test_objects.
TestRegistry
(*args, **kwargs)[source]¶ Bases:
ironic.tests.base.TestCase