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:
parent
6fc29133ff
commit
f682bf77d0
@ -18,8 +18,8 @@ from oslo_config import cfg
|
|||||||
|
|
||||||
from neutron.db.migration.alembic_migrations import external
|
from neutron.db.migration.alembic_migrations import external
|
||||||
from neutron.db.migration import cli as migration
|
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.functional.db import test_migrations
|
||||||
|
from neutron.tests.unit import testlib_api
|
||||||
|
|
||||||
from vmware_nsx.db.migration import alembic_migrations
|
from vmware_nsx.db.migration import alembic_migrations
|
||||||
from vmware_nsx.db.models import head
|
from vmware_nsx.db.models import head
|
||||||
@ -50,11 +50,13 @@ class _TestModelsMigrationsFoo(test_migrations._TestModelsMigrations):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
class TestModelsMigrationsMysql(_TestModelsMigrationsFoo,
|
class TestModelsMigrationsMysql(testlib_api.MySQLTestCaseMixin,
|
||||||
base.MySQLTestCase):
|
_TestModelsMigrationsFoo,
|
||||||
|
testlib_api.SqlTestCaseLight):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class TestModelsMigrationsPsql(_TestModelsMigrationsFoo,
|
class TestModelsMigrationsPsql(testlib_api.PostgreSQLTestCaseMixin,
|
||||||
base.PostgreSQLTestCase):
|
_TestModelsMigrationsFoo,
|
||||||
|
testlib_api.SqlTestCaseLight):
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user