Tests for ceilometer/storage/impl_db2.py
Note
In order to run the tests against another MongoDB server set the
environment variable CEILOMETER_TEST_DB2_URL to point to a DB2
server before running the tests.
-
class ceilometer.tests.functional.storage.test_impl_db2.CapabilitiesTest(*args, **kwds)[source]
Bases: ceilometer.tests.base.BaseTestCase
-
test_capabilities()[source]
-
test_event_capabilities()[source]
-
test_storage_capabilities()[source]
-
class ceilometer.tests.functional.storage.test_impl_db2.ConnectionTest(*args, **kwds)[source]
Bases: ceilometer.tests.base.BaseTestCase
-
test_generate_random_str_with_default_config_len(*args, **keywargs)[source]
-
test_generate_random_str_with_less_config_len(*args, **keywargs)[source]
-
test_upgrade(*args, **keywargs)[source]