yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75197
[Bug 1797102] [NEW] DeprecationWarning: Using class 'DbFixture' (either directly or via inheritance) is deprecated: Please use oslo_db.sqlalchemy.test_fixtures directly
Public bug reported:
In py35 testing (tox -e py35), the following deprecated warning is shown.
It should be fixed.
{6}
nova.tests.unit.db.test_db_api.TestSqlalchemyTypesRepr.test_cidr_repr
[0.032182s] ... ok
Captured stderr:
~~~~~~~~~~~~~~~~
b"/tmp/nova/.tox/py35/lib/python3.5/site-packages/oslo_db/sqlalchemy/test_base.py:179: DeprecationWarning: Using class 'DbFixture' (either directly or via inheritance) is deprecated: Please use oslo_db.sqlalchemy.test_fixtures directly"
b' self, skip_on_unavailable_db=self.SKIP_ON_UNAVAILABLE_DB))'
b''
** Affects: nova
Importance: Undecided
Assignee: Takashi NATSUME (natsume-takashi)
Status: In Progress
** Tags: testing
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1797102
Title:
DeprecationWarning: Using class 'DbFixture' (either directly or via
inheritance) is deprecated: Please use
oslo_db.sqlalchemy.test_fixtures directly
Status in OpenStack Compute (nova):
In Progress
Bug description:
In py35 testing (tox -e py35), the following deprecated warning is shown.
It should be fixed.
{6}
nova.tests.unit.db.test_db_api.TestSqlalchemyTypesRepr.test_cidr_repr
[0.032182s] ... ok
Captured stderr:
~~~~~~~~~~~~~~~~
b"/tmp/nova/.tox/py35/lib/python3.5/site-packages/oslo_db/sqlalchemy/test_base.py:179: DeprecationWarning: Using class 'DbFixture' (either directly or via inheritance) is deprecated: Please use oslo_db.sqlalchemy.test_fixtures directly"
b' self, skip_on_unavailable_db=self.SKIP_ON_UNAVAILABLE_DB))'
b''
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1797102/+subscriptions
Follow ups