From 0d95efdf1b8215c9cbc1af1b53c45efee2316c3d Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Wed, 22 Nov 2017 10:48:23 -0600 Subject: [PATCH] Use new oslo.db base test case Base migration test cases have moved to a new location in oslo.db resulting in DeprecationWarnings in the logs. This updates the migration tests to use the new location for these base classes. Change-Id: I25e41fc4103b4eafd3aef2b0a863b2053927edad --- glance/tests/functional/db/test_migrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glance/tests/functional/db/test_migrations.py b/glance/tests/functional/db/test_migrations.py index e7d51a2794..8bc6ea55f3 100644 --- a/glance/tests/functional/db/test_migrations.py +++ b/glance/tests/functional/db/test_migrations.py @@ -19,8 +19,8 @@ import os from alembic import command as alembic_command from alembic import script as alembic_script -from oslo_db.sqlalchemy import test_base from oslo_db.sqlalchemy import test_migrations +from oslo_db.tests.sqlalchemy import base as test_base import sqlalchemy.types as types from glance.db import migration as db_migration