diff --git a/oslo_db/tests/fixtures.py b/oslo_db/tests/fixtures.py index 4cc596f63366becc73adb3365c7572b2bf338186..62a88fbf8ed1e1f081ba3b742046b51f890f2324 100644 --- a/oslo_db/tests/fixtures.py +++ b/oslo_db/tests/fixtures.py @@ -26,6 +26,13 @@ class WarningsFixture(fixtures.Fixture): warnings.simplefilter('once', DeprecationWarning) + # Except things we've deprecated but are still testing until removal + + warnings.filterwarnings( + 'ignore', + category=DeprecationWarning, + module='oslo_db') + # Enable generic warnings to ensure we're not doing anything odd warnings.filterwarnings(