Bases: fixtures.fixture.Fixture
Basic database fixture.
Allows to run tests on various db backends, such as SQLite, MySQL and PostgreSQL. By default use sqlite backend. To override default backend uri set env variable OS_TEST_DBAPI_CONNECTION with database admin credentials for specific backend.
Bases: oslotest.base.BaseTestCase
Base class for testing of DB code.
Using DbFixture. Intended to be the main database test case to use all the tests on a given backend with user defined uri. Backend specific tests should be decorated with backend_specific decorator.
Bases: oslo.db.sqlalchemy.test_base.DbFixture
Bases: oslo.db.sqlalchemy.test_base.OpportunisticTestCase
alias of MySQLOpportunisticFixture
Bases: oslo.db.sqlalchemy.test_base.DbTestCase
Placeholder for backwards compatibility.
Bases: oslo.db.sqlalchemy.test_base.DbFixture
Bases: oslo.db.sqlalchemy.test_base.OpportunisticTestCase
alias of PostgreSQLOpportunisticFixture
Decorator to skip backend specific tests on inappropriate engines.
::dialects: list of dialects names under which the test will be launched.