summaryrefslogtreecommitdiff
path: root/releasenotes/notes/remove-base-test-classes-557889ec4f072781.yaml
blob: 1fb1381085d978633f7cac7d4530c810e7a3208f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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``