Tests for ceilometer/publisher/messaging.py
-
class ceilometer.tests.unit.publisher.test_messaging_publisher.BasePublisherTestCase(*args, **kwds)[source]
Bases: ceilometer.tests.base.BaseTestCase
-
setUp()[source]
-
class ceilometer.tests.unit.publisher.test_messaging_publisher.NotifierOnlyPublisherTest(*args, **kwds)[source]
Bases: ceilometer.tests.unit.publisher.test_messaging_publisher.BasePublisherTestCase
-
test_publish_other_host(*args, **keywargs)[source]
-
test_publish_other_host_vhost_and_query(*args, **keywargs)[source]
-
test_publish_topic_override(*args, **keywargs)[source]
-
class ceilometer.tests.unit.publisher.test_messaging_publisher.TestPublisher(*args, **kwds)[source]
Bases: testscenarios.testcase.WithScenarios, ceilometer.tests.unit.publisher.test_messaging_publisher.BasePublisherTestCase
-
setUp()[source]
-
class ceilometer.tests.unit.publisher.test_messaging_publisher.TestPublisherPolicy(*args, **kwds)[source]
Bases: ceilometer.tests.unit.publisher.test_messaging_publisher.TestPublisher
-
test_published_with_no_policy(*args, **keywargs)[source]
-
test_published_with_policy_block(*args, **keywargs)[source]
-
test_published_with_policy_incorrect(*args, **keywargs)[source]
-
class ceilometer.tests.unit.publisher.test_messaging_publisher.TestPublisherPolicyReactions(*args, **kwds)[source]
Bases: ceilometer.tests.unit.publisher.test_messaging_publisher.TestPublisher
-
test_published_with_policy_default_sized_queue_and_rpc_down(*args, **keywargs)[source]
-
test_published_with_policy_drop_and_rpc_down(*args, **keywargs)[source]
-
test_published_with_policy_queue_and_rpc_down(*args, **keywargs)[source]
-
test_published_with_policy_queue_and_rpc_down_up(*args, **keywargs)[source]
-
test_published_with_policy_sized_queue_and_rpc_down(*args, **keywargs)[source]