From 951f40f03f7346143f69f0ba5f3aa6a571e3200a Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:23:35 +0000 Subject: [PATCH] fix(test): add @pytest.mark.asyncio to TestUpdateColumnAllowlist pytest-asyncio runs in STRICT mode (the [tool:pytest] asyncio_mode=auto setting in pytest.ini is not recognised by the [pytest] parser). All other async test classes in this repo (TestMigrationManager, TestRAGManager) carry the class-level @pytest.mark.asyncio decorator; the new allowlist test class was missing it, causing the four async methods to fail with "async def functions are not natively supported". Co-Authored-By: Claude Sonnet 4.6 --- services/orchestrator/tests/test_database_update_allowlist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/services/orchestrator/tests/test_database_update_allowlist.py b/services/orchestrator/tests/test_database_update_allowlist.py index 8179461..ed768f2 100644 --- a/services/orchestrator/tests/test_database_update_allowlist.py +++ b/services/orchestrator/tests/test_database_update_allowlist.py @@ -24,6 +24,7 @@ async def _cm(): return _cm +@pytest.mark.asyncio @pytest.mark.database class TestUpdateColumnAllowlist: async def test_update_organization_rejects_unknown_column(self):