diff --git a/nova/tests/fixtures.py b/nova/tests/fixtures.py index 83b552c2320..4d530db0cca 100644 --- a/nova/tests/fixtures.py +++ b/nova/tests/fixtures.py @@ -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)