Merge "Ignore python warnings in the neutron-status functional tests"

This commit is contained in:
Zuul 2022-12-28 15:09:20 +00:00 committed by Gerrit Code Review
commit 2979cd17fa

View File

@ -52,6 +52,7 @@ class StatusTest(base.BaseLoggingTestCase):
try: try:
stdout, stderr = utils.execute( stdout, stderr = utils.execute(
cmd=["neutron-status", "upgrade", "check"], cmd=["neutron-status", "upgrade", "check"],
addl_env={'PYTHONWARNINGS': 'ignore'},
extra_ok_codes=[upgradecheck.Code.SUCCESS, extra_ok_codes=[upgradecheck.Code.SUCCESS,
upgradecheck.Code.WARNING, upgradecheck.Code.WARNING,
upgradecheck.Code.FAILURE], upgradecheck.Code.FAILURE],