Provide DB isolation for WalkMigrations tests

Get DB isolation via a fixture by inheriting from oslo_db base test
class in _TestWalkMigrations.

Change-Id: Ifc789387f6525da2b1e4528ada58607eeb8314be
This commit is contained in:
Henry Gessau 2016-06-15 16:34:11 -04:00
parent bc83a0eb0f
commit 87651f7b75
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ def _is_backend_avail(backend,
@six.add_metaclass(abc.ABCMeta)
class _TestWalkMigrations(base_tests.BaseTestCase):
class _TestWalkMigrations(base_tests.BaseTestCase, test_base.DbTestCase):
'''This will add framework for testing schema migarations
for different backends.