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
This commit is contained in:
Sam Betts 2017-07-25 16:55:22 +01:00
parent 2af0348d26
commit 24f0402e27

View File

@ -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__)