Merge "Replace DbMigrationError with DBMigrationError"

This commit is contained in:
Zuul 2019-01-09 16:59:27 +00:00 committed by Gerrit Code Review
commit c807e204fc
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
pbr>=2.0.0,!=2.1.0
alembic>=0.8.10
oslo.config>=4.0.0
oslo.db>=4.24.0
oslo.db>=4.27.0
python-subunit>=0.0.18
six>=1.9.0
SQLAlchemy>=1.0.10,!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8

View File

@ -93,7 +93,7 @@ class TestWalkMigrations(base.TestCase):
revisions = list(script_dir.walk_revisions("base", "head"))
if not revisions:
raise exc.DbMigrationError('There is no suitable migrations.')
raise exc.DBMigrationError('There is no suitable migrations.')
for rev in list(reversed(revisions)):
# Destination, current