The ceilometer.tests.functional.storage.test_impl_sqlalchemy Module

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_event_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.EventTest(*args, **kwds)[source]

Bases: ceilometer.tests.db.TestBase

test_datetime_traits(*args, **kwargs)[source]
test_event_repr(*args, **kwargs)[source]
test_float_traits(*args, **kwargs)[source]
test_int_traits(*args, **kwargs)[source]
test_string_traits(*args, **kwargs)[source]
class ceilometer.tests.functional.storage.test_impl_sqlalchemy.EventTypeTest(*args, **kwds)[source]

Bases: ceilometer.tests.db.TestBase

setUp(*args, **kwargs)[source]
tearDown()[source]
test_event_type_exists(*args, **kwargs)[source]
test_event_type_unique(*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]

Previous topic

The ceilometer.tests.functional.storage.test_impl_mongodb Module

Next topic

The ceilometer.tests.functional.storage.test_pymongo_base Module

Project Source

This Page