Merge "Replace DbMigrationError with DBMigrationError"
This commit is contained in:
commit
c807e204fc
@ -1,7 +1,7 @@
|
|||||||
pbr>=2.0.0,!=2.1.0
|
pbr>=2.0.0,!=2.1.0
|
||||||
alembic>=0.8.10
|
alembic>=0.8.10
|
||||||
oslo.config>=4.0.0
|
oslo.config>=4.0.0
|
||||||
oslo.db>=4.24.0
|
oslo.db>=4.27.0
|
||||||
python-subunit>=0.0.18
|
python-subunit>=0.0.18
|
||||||
six>=1.9.0
|
six>=1.9.0
|
||||||
SQLAlchemy>=1.0.10,!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8
|
SQLAlchemy>=1.0.10,!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8
|
||||||
|
@ -93,7 +93,7 @@ class TestWalkMigrations(base.TestCase):
|
|||||||
revisions = list(script_dir.walk_revisions("base", "head"))
|
revisions = list(script_dir.walk_revisions("base", "head"))
|
||||||
|
|
||||||
if not revisions:
|
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)):
|
for rev in list(reversed(revisions)):
|
||||||
# Destination, current
|
# Destination, current
|
||||||
|
Loading…
x
Reference in New Issue
Block a user