Fix model migration sync tests

Update the tests to match the changes from
  https://review.openstack.org/332476

Change-Id: I146652cca0b3f67ac1c66251cbcc3bdf48b2a587
Related-bug: #1594898
This commit is contained in:
Henry Gessau 2016-07-01 14:04:53 -04:00
parent 6fc29133ff
commit f682bf77d0

View File

@ -18,8 +18,8 @@ from oslo_config import cfg
from neutron.db.migration.alembic_migrations import external
from neutron.db.migration import cli as migration
from neutron.tests.common import base
from neutron.tests.functional.db import test_migrations
from neutron.tests.unit import testlib_api
from vmware_nsx.db.migration import alembic_migrations
from vmware_nsx.db.models import head
@ -50,11 +50,13 @@ class _TestModelsMigrationsFoo(test_migrations._TestModelsMigrations):
return True
class TestModelsMigrationsMysql(_TestModelsMigrationsFoo,
base.MySQLTestCase):
class TestModelsMigrationsMysql(testlib_api.MySQLTestCaseMixin,
_TestModelsMigrationsFoo,
testlib_api.SqlTestCaseLight):
pass
class TestModelsMigrationsPsql(_TestModelsMigrationsFoo,
base.PostgreSQLTestCase):
class TestModelsMigrationsPsql(testlib_api.PostgreSQLTestCaseMixin,
_TestModelsMigrationsFoo,
testlib_api.SqlTestCaseLight):
pass