Merge "Ignore some PendingDeprecationWarnings for os-vif"

This commit is contained in:
Zuul 2019-02-06 16:05:32 +00:00 committed by Gerrit Code Review
commit b01da49dfc
1 changed files with 6 additions and 0 deletions

View File

@ -843,6 +843,12 @@ class WarningsFixture(fixtures.Fixture):
'ignore', message='Evaluating non-mapped column expression',
category=sqla_exc.SAWarning)
# TODO(jangutter): Change (or remove) this to an error during the Train
# cycle when the os-vif port profile is no longer used.
warnings.filterwarnings(
'ignore', message=".* 'VIFPortProfileOVSRepresentor' .* "
"is deprecated", category=PendingDeprecationWarning)
self.addCleanup(warnings.resetwarnings)