From 4e45bc9b04e4396b7e2c6e29f59aa8623452bb8d Mon Sep 17 00:00:00 2001 From: James Garner Date: Thu, 17 Oct 2024 09:57:59 +1300 Subject: [PATCH] fix: move new pytest config to tox.ini with existing config This avoids pytest.ini taking priority when tests are run and the tox.ini config not being read. --- pytest.ini | 3 --- tox.ini | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 97527120..00000000 --- a/pytest.ini +++ /dev/null @@ -1,3 +0,0 @@ -[pytest] -asyncio_default_fixture_loop_scope = function - diff --git a/tox.ini b/tox.ini index a67d4745..4c59d9a7 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,7 @@ markers = wait_for_idle: mark a test that waits for the model to be idle bundle: mark a test that uses a bundle asyncio_mode = auto +asyncio_default_fixture_loop_scope = function filterwarnings = ignore::DeprecationWarning:websockets