Add functional test to run dsvm-functional
This commit adds dummy test code in order to provide functional test.
(cherry picked from commit 70ea2d4f8d
)
Co-Authored-By: Reedip Banerjee <reedip.banerjee@nectechnologies.in>
Co-Authored-By: Nate Johnston <openstacknate@gmail.com>
Change-Id: Ia19405de948fc822b0d97490eb02b428c3ad9987
Closes-Bug: #1661418
This commit is contained in:
parent
74921aefe8
commit
fb6915d016
|
@ -15,6 +15,7 @@ from oslo_config import cfg
|
|||
from neutron.db.migration.alembic_migrations import external
|
||||
from neutron.db.migration import cli as migration
|
||||
from neutron.tests.functional.db import test_migrations
|
||||
from neutron.tests.unit import testlib_api
|
||||
|
||||
from neutron_fwaas.db.models import head
|
||||
|
||||
|
@ -47,3 +48,15 @@ class _TestModelsMigrationsFWaaS(test_migrations._TestModelsMigrations):
|
|||
if type_ == 'index' and reflected and name.startswith("idx_autoinc_"):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
class TestModelsMigrationsMysql(testlib_api.MySQLTestCaseMixin,
|
||||
_TestModelsMigrationsFWaaS,
|
||||
testlib_api.SqlTestCaseLight):
|
||||
pass
|
||||
|
||||
|
||||
class TestModelsMigrationsPostgresql(testlib_api.PostgreSQLTestCaseMixin,
|
||||
_TestModelsMigrationsFWaaS,
|
||||
testlib_api.SqlTestCaseLight):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue