From 74fb7f64aaf0a69e2bb697e2808c4bda476184af Mon Sep 17 00:00:00 2001 From: Mimi Sav Date: Thu, 31 Oct 2024 09:16:26 +0100 Subject: [PATCH] addes asyncio --- apps/shared/pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/shared/pyproject.toml b/apps/shared/pyproject.toml index 8b41da73..cd7e53dc 100644 --- a/apps/shared/pyproject.toml +++ b/apps/shared/pyproject.toml @@ -14,9 +14,20 @@ pandas = "^2.2.2" [tool.poetry.group.dev.dependencies] pytest = "^8.3.3" +pytest-asyncio = "^0.21.0" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" + + +# [tool.pytest.ini_options] +# pythonpath = ["apps/shared"] +# testpaths = ["apps/shared/tests"] +# python_files = ["test_*.py"] +# asyncio_mode = "auto" # Enable pytest-asyncio for all tests +markers = [ + "asyncio: mark test as an asyncio test", +]