From 28ba21fd52ae00ddeab873eb6b679ef887ee792b Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:28:16 +0100 Subject: [PATCH] default loop scope --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d9a75607..5ccbba18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,10 @@ pre-commit = "^4.0.1" requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" +[tool.pytest.ini_options] +asyncio_mode = "strict" +asyncio_default_fixture_loop_scope = "function" + [tool.poetry.scripts] mint = "cashu.mint.main:main" cashu = "cashu.wallet.cli.cli:cli"