Tests for ceilometer/storage/impl_sqlalchemy.py
Note
In order to run the tests against real SQL server set the environment
variable CEILOMETER_TEST_SQL_URL to point to a SQL server before running
the tests.
-
class ceilometer.tests.functional.storage.test_impl_sqlalchemy.CapabilitiesTest(*args, **kwds)[source]
Bases: ceilometer.tests.base.BaseTestCase
-
test_capabilities()[source]
-
test_storage_capabilities()[source]
-
class ceilometer.tests.functional.storage.test_impl_sqlalchemy.CeilometerBaseTest(*args, **kwds)[source]
Bases: ceilometer.tests.db.TestBase
-
test_ceilometer_base(*args, **kwargs)[source]
-
class ceilometer.tests.functional.storage.test_impl_sqlalchemy.EngineFacadeTest(*args, **kwds)[source]
Bases: ceilometer.tests.db.TestBase
-
test_no_not_supported_warning(*args, **kwargs)[source]
-
class ceilometer.tests.functional.storage.test_impl_sqlalchemy.FilterQueryTestForMeters(*args, **kwds)[source]
Bases: ceilometer.tests.functional.storage.test_storage_scenarios.DBTestBase
-
prepare_data()[source]
-
test_get_meters_by_project(*args, **kwargs)[source]
-
test_get_meters_by_user(*args, **kwargs)[source]
-
class ceilometer.tests.functional.storage.test_impl_sqlalchemy.RelationshipTest(*args, **kwds)[source]
Bases: ceilometer.tests.functional.storage.test_storage_scenarios.DBTestBase
-
test_clear_metering_data_meta_tables(*args, **kwargs)[source]