
from oslo_db.sqlalchemy import test_base

load_tests = test_base.optimize_db_test_loader(__file__)


from oslo_db.sqlalchemy import test_fixtures

load_tests = test_fixtures.optimize_package_test_loader(__file__)

Remove deprecation warning when loading tests/sqlalchemy
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

  
- 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__)
  
Remove deprecation warning when loading tests/sqlalchemy
## Code Before:

from oslo_db.sqlalchemy import test_base

load_tests = test_base.optimize_db_test_loader(__file__)

## Instruction:
Remove deprecation warning when loading tests/sqlalchemy
## Code After:

from oslo_db.sqlalchemy import test_fixtures

load_tests = test_fixtures.optimize_package_test_loader(__file__)
