From ceb3957f0c72e134927f690c3518134f280b7950 Mon Sep 17 00:00:00 2001 From: clu Date: Mon, 13 Apr 2026 19:47:48 +0200 Subject: [PATCH] fix(test): add pytest-asyncio for async test support Add pytest-asyncio==0.26.0 to core dev requirements and configure asyncio_mode=auto in pyproject.toml to fix failing async tests in service_test.py. --- pyproject.toml | 3 ++- src/core/requirements.dev.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1c9e3372..ed4a27fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,4 +15,5 @@ pythonpath = [ "src/query", "src/translation" ] -testpaths = ["test"] \ No newline at end of file +testpaths = ["test"] +asyncio_mode = "auto" \ No newline at end of file diff --git a/src/core/requirements.dev.txt b/src/core/requirements.dev.txt index e7664b42..1d258505 100644 --- a/src/core/requirements.dev.txt +++ b/src/core/requirements.dev.txt @@ -1 +1,2 @@ -black==25.1.0 \ No newline at end of file +black==25.1.0 +pytest-asyncio==0.26.0 \ No newline at end of file