From 450d6c428f08790bd4e1dd065d0bcbe36ab8a4c5 Mon Sep 17 00:00:00 2001 From: Joel Davies Date: Thu, 26 Sep 2024 09:01:35 +0000 Subject: [PATCH] Fix deprecation warning from pytest-asyncio #11 --- test/pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/pytest.ini b/test/pytest.ini index 4a2e330..4fabcb2 100644 --- a/test/pytest.ini +++ b/test/pytest.ini @@ -1,5 +1,7 @@ [pytest] asyncio_mode=auto +# https://github.com/pytest-dev/pytest-asyncio/issues/924 +asyncio_default_fixture_loop_scope="function" env = API__TITLE=Object Storage Service API API__DESCRIPTION=This is the API for the Object Storage Service