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
PollsterPollingException
(conf)[source]
Bases: ceilometer.tests.unit.agent.test_manager.TestPollsterPollingException
-
create_extension_list
()[source]
-
create_manager
()[source]
-
fake_notifier_sample
(ctxt, event_type, payload)[source]
-
setUp
()[source]
-
static
setup_pipeline_file
(pipeline)[source]
-
tearDown
()[source]
-
test_batching_polled_samples_default
()[source]
-
test_batching_polled_samples_false
()[source]
-
test_batching_polled_samples_true
()[source]
-
test_get_sample_resources
()[source]
-
test_hardware_discover_fail_minimize_logs
(*args, **keywargs)[source]
-
test_polling_exception
(*args, **keywargs)[source]
-
test_polling_novalike_exception
(*args, **keywargs)[source]
-
test_when_keystone_fail
()[source]
Test for bug 1316532.