Merge "Ignore MoxStubout deprecation warnings"

This commit is contained in:
Zuul 2018-12-08 20:25:25 +00:00 committed by Gerrit Code Review
commit a0a8436b8b
1 changed files with 2 additions and 0 deletions

View File

@ -821,6 +821,8 @@ class WarningsFixture(fixtures.Fixture):
# about any deprecations coming from it
warnings.filterwarnings('ignore',
module='mox3.mox')
# NOTE(gibi): we can remove this once we get rid of Mox in nova
warnings.filterwarnings('ignore', message="Using class 'MoxStubout'")
# NOTE(mriedem): Ignore scope check UserWarnings from oslo.policy.
warnings.filterwarnings('ignore',
message="Policy .* failed scope check",