The ceilometer.tests.unit.objectstore.test_swift Module

class ceilometer.tests.unit.objectstore.test_swift.Tenant(id)

Bases: tuple

class ceilometer.tests.unit.objectstore.test_swift.TestManager(worker_id, conf)[source]

Bases: ceilometer.agent.manager.AgentManager

class ceilometer.tests.unit.objectstore.test_swift.TestSwiftPollster(*args, **kwds)[source]

Bases: testscenarios.testcase.WithScenarios, oslotest.base.BaseTestCase

fake_iter_accounts(ksclient, cache, tenants)[source]
static fake_ks_service_catalog_url_for(*args, **kwargs)[source]
setUp(*args, **keywargs)[source]
tearDown()[source]
test_endpoint_notfound()[source]
test_get_endpoint_only_once()[source]
test_get_meter_names()[source]
test_iter_accounts_cached()[source]
test_iter_accounts_no_cache()[source]
test_metering()[source]
test_neaten_url()[source]
test_only_poll_assigned()[source]