The ceilometer.tests.unit.energy.test_kwapi Module

class ceilometer.tests.unit.energy.test_kwapi.TestEnergyPollster(*args, **kwds)[source]

Bases: ceilometer.tests.unit.energy.test_kwapi._BaseTestCase

static fake_iter_probes(ksclient, cache, endpoint)[source]
pollster_cls

alias of EnergyPollster

setUp()[source]
test_default_discovery()[source]
test_sample()[source]
class ceilometer.tests.unit.energy.test_kwapi.TestEnergyPollsterCache(*args, **kwds)[source]

Bases: ceilometer.tests.unit.energy.test_kwapi._BaseTestCase

pollster_cls

alias of EnergyPollster

test_get_samples_cached()[source]
class ceilometer.tests.unit.energy.test_kwapi.TestKwapi(*args, **kwds)[source]

Bases: ceilometer.tests.unit.energy.test_kwapi._BaseTestCase

static fake_get_kwapi_client(ksclient, endpoint)[source]
test_endpoint_not_exist()[source]
class ceilometer.tests.unit.energy.test_kwapi.TestManager(worker_id, conf)[source]

Bases: ceilometer.agent.manager.AgentManager

class ceilometer.tests.unit.energy.test_kwapi.TestPowerPollster(*args, **kwds)[source]

Bases: ceilometer.tests.unit.energy.test_kwapi.TestEnergyPollster

pollster_cls

alias of PowerPollster

class ceilometer.tests.unit.energy.test_kwapi.TestPowerPollsterCache(*args, **kwds)[source]

Bases: ceilometer.tests.unit.energy.test_kwapi.TestEnergyPollsterCache

pollster_cls

alias of PowerPollster