From 7148237bf5e4da69af42d3e76a0613e44cf255ea Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 25 Sep 2024 12:41:50 +0200 Subject: [PATCH] Silence pytest-asyncio warning Signed-off-by: Nils Philippsen --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 8706d65a..cb72c3d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,6 +106,7 @@ client = ["httpx"] [tool.pytest.ini_options] addopts = "--black --cov-config .coveragerc --cov=duffy --cov-report term --cov-report xml --cov-report html --isort" asyncio_mode = "auto" +asyncio_default_fixture_loop_scope = "function" log_format = "%(levelname)s: %(asctime)s %(short_request_id_optional)s(%(filename)s:%(lineno)s %(message)s)" [tool.isort]