summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-07-20 15:55:30 +0000
committerGerrit Code Review <review@openstack.org>2022-07-20 15:55:30 +0000
commit87aa633db71f3e68a4970e255ce2967ac19da334 (patch)
tree0daebf08d0c7df8a0dded183678b69a80b43edfe
parentf9bbfe635da7165bfa138a17f9bef7f5354558f3 (diff)
parent4c451b7df55f3f77af7339ed38b49bdb5747e52e (diff)
downloadoslo-db-87aa633db71f3e68a4970e255ce2967ac19da334.tar.gz
Merge "trivial: Don't emit warnings for our own deprecations"
-rw-r--r--oslo_db/tests/fixtures.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/oslo_db/tests/fixtures.py b/oslo_db/tests/fixtures.py
index 4cc596f..62a88fb 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(