Commit 54cee5a6 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Disable setLevel on loggging Logger and Handler for tests.

parent 595fcef2
Pipeline #85444 passed with stages
in 23 minutes and 15 seconds
......@@ -61,8 +61,10 @@ def monkeysession(request):
@pytest.fixture(scope='session', autouse=True)
def nomad_logging():
def nomad_logging(monkeysession):
monkeysession.setattr('logging.Logger.setLevel', lambda *args, **kwargs: None)
monkeysession.setattr('logging.Handler.setLevel', lambda *args, **kwargs: None)
@pytest.fixture(scope='session', autouse=True)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment