The ceilometer.tests.unit.objectstore.test_swift Module

The ceilometer.tests.unit.objectstore.test_swift Module

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

Bases: tuple

id

Alias for field number 0

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

Bases: ceilometer.polling.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]
scenarios = [('storage.objects', {'factory': <class 'ceilometer.objectstore.swift.ObjectsPollster'>}), ('storage.objects.size', {'factory': <class 'ceilometer.objectstore.swift.ObjectsSizePollster'>}), ('storage.objects.containers', {'factory': <class 'ceilometer.objectstore.swift.ObjectsContainersPollster'>}), ('storage.containers.objects', {'factory': <class 'ceilometer.objectstore.swift.ContainersObjectsPollster'>}), ('storage.containers.objects.size', {'factory': <class 'ceilometer.objectstore.swift.ContainersSizePollster'>})]
setUp()[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]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.