diff --git a/src/rest/test/__init__.py b/src/rest/test/__init__.py index 85b82f6cf739817aea1b4d49b228eaad99522b55..5419f1270d0622d519971c574341971dd6d76270 100644 --- a/src/rest/test/__init__.py +++ b/src/rest/test/__init__.py @@ -9,7 +9,9 @@ from src.rest.encoder import JSONEncoder class BaseTestCase(TestCase): def create_app(self): - logging.getLogger('connexion.operation').setLevel('ERROR') + # silence the noise debug log of the relevant modules + for log_name in ("connexion", "openapi_spec_validator"): + logging.getLogger(log_name).setLevel('ERROR') app = connexion.App(__name__, specification_dir='../swagger/') app.app.json_encoder = JSONEncoder app.add_api('swagger.yaml')