From b2f4fbd5f1bb919c9111333e0ecfc7b9c34afd23 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 17 Apr 2023 11:43:30 +0100 Subject: [PATCH] tests: Warn on *any* SAWarning warning We were explicitly warning on one type of warning. We should warn on all of them, since they are issues that need prompt addressing. Change-Id: Ice70d5f0eb93537c4580964d0c70d439182977c0 Signed-off-by: Stephen Finucane --- placement/tests/functional/fixtures/capture.py | 1 - 1 file changed, 1 deletion(-) diff --git a/placement/tests/functional/fixtures/capture.py b/placement/tests/functional/fixtures/capture.py index c58119acf..b2514c09a 100644 --- a/placement/tests/functional/fixtures/capture.py +++ b/placement/tests/functional/fixtures/capture.py @@ -88,7 +88,6 @@ class WarningsFixture(fixtures.Fixture): # Prevent us introducing unmapped columns warnings.filterwarnings( 'error', - message='Evaluating non-mapped column expression', category=sqla_exc.SAWarning) # Configure SQLAlchemy 2.0 warnings