Skip to content

Commit

Permalink
Merge "Ignore some PendingDeprecationWarnings for os-vif"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Feb 6, 2019
2 parents bcfd243 + cd18231 commit b01da49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nova/tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,12 @@ def setUp(self):
'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)


Expand Down

0 comments on commit b01da49

Please sign in to comment.