| 1 | --- |
| 2 | upgrade: |
| 3 | - | |
| 4 | The following test fixtures and base test classes were deprecated and have |
| 5 | now been removed: |
| 6 | |
| 7 | - ``oslo_db.sqlalchemy.test_base.DbFixture`` |
| 8 | - ``oslo_db.sqlalchemy.test_base.DbTestCase`` |
| 9 | - ``oslo_db.sqlalchemy.test_base.OpportunisticTestCase`` |
| 10 | - ``oslo_db.sqlalchemy.test_base.MySQLOpportunisticFixture`` |
| 11 | - ``oslo_db.sqlalchemy.test_base.PostgreSQLOpportunisticFixture`` |
| 12 | - ``oslo_db.sqlalchemy.test_base.MySQLOpportunisticTestCase`` |
| 13 | - ``oslo_db.sqlalchemy.test_base.PostgreSQLOpportunisticTestCase`` |
| 14 | |
| 15 | They have all been replaced by equivalent test fixtures and test class |
| 16 | mixins in ``oslo_db.sqlalchemy.test_fixtures``. |
| 17 | |
| 18 | In addition, the following test cases were being inadvertently used |
| 19 | publicly despite being private to oslo.db. They were also deprecated and |
| 20 | have now been removed: |
| 21 | |
| 22 | - ``oslo_db.tests.sqlalchemy.base.DbTestCase`` |
| 23 | - ``oslo_db.tests.sqlalchemy.base.MySQLOpportunisticTestCase`` |
| 24 | - ``oslo_db.tests.sqlalchemy.base.PostgreSQLOpportunisticTestCase`` |