summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-04-17 15:38:16 +0000
committerGerrit Code Review <review@openstack.org>2023-04-17 15:38:16 +0000
commita7c03ba9de6f9a98aa5c36a67e1ecfab77acde9a (patch)
treebacfd036580f6a4d8aafb4ac95ce35a0cf2b0c84 /releasenotes
parentb557c6a30cfcdbb4673dbfdb29f40c68d9d190b0 (diff)
parentaf5392bf3fcf032ed376e5e49dff485f875c0a57 (diff)
downloadoslo-db-a7c03ba9de6f9a98aa5c36a67e1ecfab77acde9a.tar.gz
Merge "Add release note for base test class removal"13.0.0
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/remove-base-test-classes-557889ec4f072781.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/releasenotes/notes/remove-base-test-classes-557889ec4f072781.yaml b/releasenotes/notes/remove-base-test-classes-557889ec4f072781.yaml
new file mode 100644
index 0000000..1fb1381
--- /dev/null
+++ b/releasenotes/notes/remove-base-test-classes-557889ec4f072781.yaml
@@ -0,0 +1,24 @@
+---
+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``