The ceilometer.tests.functional.storage.test_impl_mongodb Module

Tests for ceilometer/storage/impl_mongodb.py

Note

In order to run the tests against another MongoDB server set the environment variable CEILOMETER_TEST_MONGODB_URL to point to a MongoDB server before running the tests.

class ceilometer.tests.functional.storage.test_impl_mongodb.CapabilitiesTest(*args, **kwds)[source]

Bases: ceilometer.tests.base.BaseTestCase

test_capabilities()[source]
test_storage_capabilities()[source]
class ceilometer.tests.functional.storage.test_impl_mongodb.IndexTest(*args, **kwds)[source]

Bases: ceilometer.tests.db.TestBase

test_meter_ttl_index_absent(*args, **kwargs)[source]
test_meter_ttl_index_present(*args, **kwargs)[source]
class ceilometer.tests.functional.storage.test_impl_mongodb.MongoDBConnection(*args, **kwds)[source]

Bases: ceilometer.tests.db.TestBase

test_connection_pooling(*args, **kwargs)[source]
test_replica_set(*args, **kwargs)[source]

Project Source

This Page