oslo.db/releasenotes/notes/remove-base-test-classes-557889ec4f072781.yaml
Stephen Finucane af5392bf3f Add release note for base test class removal
In change I1e71150ba6daeba464b6ed8d46163f1f34959db3 we removed the
legacy base test classes, first deprecated in 2015. We forgot to include
a release note, however. Address this now.

Change-Id: I4d66f0308b89a187143ef6c8495383fe60043c14
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-04-17 13:34:40 +01:00

25 lines
1.0 KiB
YAML

---
upgrade:
- |
The following test fixtures and base test classes were deprecated and have
now been removed:
- ``oslo_db.sqlalchemy.test_base.DbFixture``
- ``oslo_db.sqlalchemy.test_base.DbTestCase``
- ``oslo_db.sqlalchemy.test_base.OpportunisticTestCase``
- ``oslo_db.sqlalchemy.test_base.MySQLOpportunisticFixture``
- ``oslo_db.sqlalchemy.test_base.PostgreSQLOpportunisticFixture``
- ``oslo_db.sqlalchemy.test_base.MySQLOpportunisticTestCase``
- ``oslo_db.sqlalchemy.test_base.PostgreSQLOpportunisticTestCase``
They have all been replaced by equivalent test fixtures and test class
mixins in ``oslo_db.sqlalchemy.test_fixtures``.
In addition, the following test cases were being inadvertently used
publicly despite being private to oslo.db. They were also deprecated and
have now been removed:
- ``oslo_db.tests.sqlalchemy.base.DbTestCase``
- ``oslo_db.tests.sqlalchemy.base.MySQLOpportunisticTestCase``
- ``oslo_db.tests.sqlalchemy.base.PostgreSQLOpportunisticTestCase``