The ceilometer.tests.unit.agent.test_manager Module

Tests for ceilometer agent manager

exception ceilometer.tests.unit.agent.test_manager.PollingException[source]

Bases: exceptions.Exception

class ceilometer.tests.unit.agent.test_manager.TestManager(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_builder()[source]
test_import_error_in_plugin(*args, **keywargs)[source]
test_load_exceptional_plugins(*args, **keywargs)[source]
test_load_failed_plugins(*args, **keywargs)[source]
test_load_invalid_plugins_pollster_list()[source]
test_load_normal_plugins(*args, **keywargs)[source]
test_load_plugins(*args, **keywargs)[source]
test_load_plugins_no_intersection()[source]
test_load_plugins_pollster_list()[source]
test_load_plugins_pollster_list_forbidden()[source]
class ceilometer.tests.unit.agent.test_manager.TestPollsterBuilder(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestPollster

classmethod build_pollsters(conf)[source]
class ceilometer.tests.unit.agent.test_manager.TestPollsterKeystone(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestPollster

get_samples(manager, cache, resources)[source]
class ceilometer.tests.unit.agent.test_manager.TestPollsterPollingException(conf)[source]

Bases: ceilometer.tests.unit.agent.agentbase.TestPollster

get_samples(manager, cache, resources)[source]
class ceilometer.tests.unit.agent.test_manager.TestRunTasks(*args, **kwds)[source]

Bases: ceilometer.tests.unit.agent.agentbase.BaseAgentManagerTestCase

class PollsterKeystone(conf)[source]

Bases: ceilometer.tests.unit.agent.test_manager.TestPollsterKeystone

class TestRunTasks.PollsterPollingException(conf)[source]

Bases: ceilometer.tests.unit.agent.test_manager.TestPollsterPollingException

TestRunTasks.create_extension_list()[source]
TestRunTasks.create_manager()[source]
TestRunTasks.fake_notifier_sample(ctxt, event_type, payload)[source]
TestRunTasks.setUp()[source]
static TestRunTasks.setup_pipeline_file(pipeline)[source]
TestRunTasks.tearDown()[source]
TestRunTasks.test_batching_polled_samples_default()[source]
TestRunTasks.test_batching_polled_samples_false()[source]
TestRunTasks.test_batching_polled_samples_true()[source]
TestRunTasks.test_get_sample_resources()[source]
TestRunTasks.test_hardware_discover_fail_minimize_logs(*args, **keywargs)[source]
TestRunTasks.test_polling_exception(*args, **keywargs)[source]
TestRunTasks.test_start_with_reloadable_pipeline()[source]
TestRunTasks.test_when_keystone_fail()[source]

Test for bug 1316532.

Project Source

This Page