The ceilometer.tests.unit.hardware.pollsters.test_generic Module

class ceilometer.tests.unit.hardware.pollsters.test_generic.FakeInspector[source]

Bases: ceilometer.hardware.inspector.base.Inspector

inspect_generic(host, cache, extra_metadata=None, param=None)[source]
class ceilometer.tests.unit.hardware.pollsters.test_generic.TestGenericPollsters(*args, **kwds)[source]

Bases: ceilometer.tests.base.BaseTestCase

static faux_get_inspector(url, namespace=None)[source]
setUp()[source]
test_get_pollsters_extensions()[source]
test_get_samples()[source]
class ceilometer.tests.unit.hardware.pollsters.test_generic.TestMeterDefinition(*args, **kwds)[source]

Bases: ceilometer.tests.base.BaseTestCase

test_bad_metric_skip(*args, **keywargs)[source]
test_config_definition()[source]
test_config_invalid_field()[source]
test_config_invalid_type_field()[source]
test_config_missing_field()[source]