From 24f0402e27ce7e51f370e82aa74c783438875d02 Mon Sep 17 00:00:00 2001 From: Sam Betts Date: Tue, 25 Jul 2017 16:55:22 +0100 Subject: [PATCH] Remove deprecation warning when loading tests/sqlalchemy /home/sam/Work/ironic/.tox/py27/local/lib/python2.7/site-packages/oslo_db/tests/sqlalchemy/__init__.py:20: DeprecationWarning: Function 'oslo_db.sqlalchemy.test_base.optimize_db_test_loader()' has moved to 'oslo_db.sqlalchemy.test_fixtures.optimize_package_test_loader()' Change-Id: I7fb4e776cedb8adcf97c9a43210049c60f796873 --- oslo_db/tests/sqlalchemy/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oslo_db/tests/sqlalchemy/__init__.py b/oslo_db/tests/sqlalchemy/__init__.py index cb712d2b..42be2976 100644 --- a/oslo_db/tests/sqlalchemy/__init__.py +++ b/oslo_db/tests/sqlalchemy/__init__.py @@ -13,6 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo_db.sqlalchemy import test_base +from oslo_db.sqlalchemy import test_fixtures -load_tests = test_base.optimize_db_test_loader(__file__) +load_tests = test_fixtures.optimize_package_test_loader(__file__)