diff options
author | Sam Betts <sam@code-smash.net> | 2017-07-25 16:55:22 +0100 |
---|---|---|
committer | Sam Betts <sam@code-smash.net> | 2017-07-25 16:56:24 +0100 |
commit | 24f0402e27ce7e51f370e82aa74c783438875d02 (patch) | |
tree | fe4251c3fb4f82a4cae15b270435666af07d3aa3 | |
parent | 2af0348d26f69e4be5c5af4989782a0c78b1aba9 (diff) | |
download | oslo-db-24f0402e27ce7e51f370e82aa74c783438875d02.tar.gz |
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
-rw-r--r-- | oslo_db/tests/sqlalchemy/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oslo_db/tests/sqlalchemy/__init__.py b/oslo_db/tests/sqlalchemy/__init__.py index cb712d2..42be297 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__) |