From f73d126d523a079c368d32dda542275a66847276 Mon Sep 17 00:00:00 2001 From: Akram Ben Aissi Date: Wed, 10 Sep 2025 13:01:19 +0200 Subject: [PATCH] fix: Remove @pytest.mark.asyncio decorator from test_rag_query.py The pytest configuration already has async-mode=auto enabled, so the @pytest.mark.asyncio decorator is not needed and causes pre-commit to fail. --- tests/unit/rag/test_rag_query.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/unit/rag/test_rag_query.py b/tests/unit/rag/test_rag_query.py index 183b4d049..a45b66f02 100644 --- a/tests/unit/rag/test_rag_query.py +++ b/tests/unit/rag/test_rag_query.py @@ -82,7 +82,6 @@ class TestRagQuery: with pytest.raises(ValueError): RAGQueryConfig(mode="wrong_mode") - @pytest.mark.asyncio async def test_query_adds_vector_db_id_to_chunk_metadata(self): rag_tool = MemoryToolRuntimeImpl( config=MagicMock(),