Tests for Ceilometer notify daemon.
-
class
ceilometer.tests.unit.test_notification.
BaseNotificationTest
(*args, **kwds)[source]
Bases: ceilometer.tests.base.BaseTestCase
-
run_service
(srv)[source]
-
class
ceilometer.tests.unit.test_notification.
BaseRealNotification
(*args, **kwds)[source]
Bases: ceilometer.tests.unit.test_notification.BaseNotificationTest
-
setUp
()[source]
-
setup_event_pipeline
(event_names)[source]
-
setup_pipeline
(counter_names)[source]
-
class
ceilometer.tests.unit.test_notification.
TestNotification
(*args, **kwds)[source]
Bases: ceilometer.tests.unit.test_notification.BaseNotificationTest
-
setUp
()[source]
-
test_select_pipelines
()[source]
-
test_select_pipelines_missing
(*args, **keywargs)[source]
-
test_start_multiple_listeners
()[source]
-
test_targets
()[source]
-
test_unique_consumers
(*args, **keywargs)[source]
-
class
ceilometer.tests.unit.test_notification.
TestRealNotification
(*args, **kwds)[source]
Bases: ceilometer.tests.unit.test_notification.BaseRealNotification
-
setUp
()[source]
-
test_notification_service
(*args, **keywargs)[source]
-
test_notification_service_error_topic
(*args, **keywargs)[source]
-
class
ceilometer.tests.unit.test_notification.
TestRealNotificationHA
(*args, **kwds)[source]
Bases: ceilometer.tests.unit.test_notification.BaseRealNotification
-
setUp
()[source]
-
test_broadcast_to_relevant_pipes_only
(*args, **keywargs)[source]
-
test_hashring_targets
()[source]
-
test_notification_service
(*args, **keywargs)[source]
-
test_notification_threads
(*args, **keywargs)[source]
-
test_notify_to_relevant_endpoint
(*args, **keywargs)[source]
-
test_reset_listener_on_refresh
(*args, **keywargs)[source]
-
class
ceilometer.tests.unit.test_notification.
TestRealNotificationMultipleAgents
(*args, **kwds)[source]
Bases: ceilometer.tests.unit.test_notification.BaseNotificationTest
-
setUp
()[source]
-
setup_event_pipeline
()[source]
-
setup_pipeline
(transformers)[source]
-
test_multiple_agents_multiple_transform
(*args, **keywargs)[source]
-
test_multiple_agents_no_transform
(*args, **keywargs)[source]
-
test_multiple_agents_transform
(*args, **keywargs)[source]