The ironic.tests.unit.objects.test_notification Module

class ironic.tests.unit.objects.test_notification.TestNotificationBase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

class TestNotification(context=None, **kwargs)[source]

Bases: ironic.objects.notification.NotificationBase

class TestNotificationEmptySchema(context=None, **kwargs)[source]

Bases: ironic.objects.notification.NotificationBase

class TestNotificationPayload(*args, **kwargs)[source]

Bases: ironic.objects.notification.NotificationPayloadBase

class TestNotificationPayloadEmptySchema(*args, **kwargs)[source]

Bases: ironic.objects.notification.NotificationPayloadBase

class TestObject(context=None, **kwargs)[source]

Bases: ironic.objects.base.IronicObject

class TestObjectMissingField(context=None, **kwargs)[source]

Bases: ironic.objects.base.IronicObject

setUp()[source]
test_emit_notification(*args, **keywargs)[source]
test_emit_notification_empty_schema(*args, **keywargs)[source]
test_event_type_invalid_status_fails()[source]
test_event_type_make_status_invalid()[source]
test_event_type_with_status()[source]
test_event_type_without_status_fails()[source]
test_no_emit_level_too_low(*args, **keywargs)[source]
test_no_emit_notifs_disabled(*args, **keywargs)[source]
test_no_emit_schema_not_populated(*args, **keywargs)[source]
test_populate_schema()[source]
test_populate_schema_missing_required_obj_field()[source]
test_populate_schema_no_object_field()[source]
test_populate_schema_nullable_field_auto_populates()[source]

Test that nullable fields always end up in the payload.