The ironic.tests.unit.conductor.test_notification_utils Module

Test class for ironic-conductor notification utilities.

class ironic.tests.unit.conductor.test_notification_utils.ProvisionNotifyTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_emit_notification(*args, **keywargs)[source]
test_mask_secrets()[source]
class ironic.tests.unit.conductor.test_notification_utils.TestNotificationUtils(*args, **kwargs)[source]

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

setUp()[source]
test__emit_conductor_node_notification(*args, **keywargs)[source]
test__emit_conductor_node_notification_known_notify_exc(*args, **keywargs)[source]

Test exception caught for a known notification exception.

test__emit_conductor_node_notification_known_payload_exc()[source]

Test exception caught for a known payload exception.

test_emit_console_notification(*args, **keywargs)[source]
test_emit_console_notification_error_status(*args, **keywargs)[source]
test_emit_power_set_notification(*args, **keywargs)[source]
test_emit_power_state_corrected_notification(*args, **keywargs)[source]