From 853243caaeebeb0dbe8b757dd32a5d78212942ea Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Sat, 3 Aug 2024 17:56:33 +0300 Subject: [PATCH] scope=session? --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index d739c59e..d0e7ed69 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -39,7 +39,7 @@ def pytest_configure(config): config.addinivalue_line("markers", "mongo: marked tests require mongo connection to run") -@pytest.fixture(scope="module") +@pytest.fixture(scope="session") def event_loop_policy(request): if sys.platform == "win32": return asyncio.WindowsSelectorEventLoopPolicy()