The ceilometer.tests.unit.objectstore.test_rgw Module

The ceilometer.tests.unit.objectstore.test_rgw Module

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

Bases: tuple

id

Alias for field number 0

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

Bases: ceilometer.polling.manager.AgentManager

class ceilometer.tests.unit.objectstore.test_rgw.TestRgwPollster(*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 = [('radosgw.objects', {'factory': <class 'ceilometer.objectstore.rgw.ObjectsPollster'>}), ('radosgw.objects.size', {'factory': <class 'ceilometer.objectstore.rgw.ObjectsSizePollster'>}), ('radosgw.objects.containers', {'factory': <class 'ceilometer.objectstore.rgw.ObjectsContainersPollster'>}), ('radosgw.containers.objects', {'factory': <class 'ceilometer.objectstore.rgw.ContainersObjectsPollster'>}), ('radosgw.containers.objects.size', {'factory': <class 'ceilometer.objectstore.rgw.ContainersSizePollster'>}), ('radosgw.api.request', {'factory': <class 'ceilometer.objectstore.rgw.UsagePollster'>})]
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_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.