Move verbosity filtering to logger (#2453)

This commit is contained in:
Adam Hopkins
2022-06-16 12:35:49 +03:00
committed by GitHub
parent b87982769f
commit 1668e1532f
7 changed files with 91 additions and 32 deletions

View File

@@ -222,6 +222,7 @@ def test_listeners_triggered_async(app, caplog):
assert after_server_stop
app.state.mode = Mode.DEBUG
app.state.verbosity = 0
with caplog.at_level(logging.DEBUG):
server.run()