From af5392bf3fcf032ed376e5e49dff485f875c0a57 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 17 Apr 2023 13:34:40 +0100 Subject: 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 --- oslo_db/sqlalchemy/enginefacade.py | 2 +- oslo_db/sqlalchemy/test_fixtures.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'oslo_db') diff --git a/oslo_db/sqlalchemy/enginefacade.py b/oslo_db/sqlalchemy/enginefacade.py index 39fb061..c01c230 100644 --- a/oslo_db/sqlalchemy/enginefacade.py +++ b/oslo_db/sqlalchemy/enginefacade.py @@ -553,7 +553,7 @@ class _TestTransactionFactory(_TransactionFactory): Note that while this is used by oslo.db's own tests of the enginefacade system, it is also exported for use by the test suites of other projects, first as an element of the - oslo_db.sqlalchemy.test_base module, and secondly may be used by + oslo_db.sqlalchemy.test_fixtures module, and secondly may be used by external test suites directly. Includes a feature to inject itself temporarily as the factory diff --git a/oslo_db/sqlalchemy/test_fixtures.py b/oslo_db/sqlalchemy/test_fixtures.py index f7157c0..c65cb07 100644 --- a/oslo_db/sqlalchemy/test_fixtures.py +++ b/oslo_db/sqlalchemy/test_fixtures.py @@ -546,9 +546,9 @@ def optimize_package_test_loader(file_): The function is invoked as:: - from oslo_db.sqlalchemy import test_base + from oslo_db.sqlalchemy import test_fixtures - load_tests = test_base.optimize_package_test_loader(__file__) + load_tests = test_fixtures.optimize_package_test_loader(__file__) The loader *must* be present in the package level __init__.py. @@ -586,9 +586,9 @@ def optimize_module_test_loader(): The function is invoked as:: - from oslo_db.sqlalchemy import test_base + from oslo_db.sqlalchemy import test_fixtures - load_tests = test_base.optimize_module_test_loader() + load_tests = test_fixtures.optimize_module_test_loader() The loader *must* be present in an individual module, and *not* the package level __init__.py. -- cgit v1.2.1