From df2133f80322da2c2d7dea49439211d09f776432 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Mon, 9 Sep 2024 16:34:08 -0400 Subject: [PATCH] tests: add asyncio default config param to quiet warning Update the topotest doc to the latest pytest* pkg versions known to work together Signed-off-by: Christian Hopps --- doc/developer/topotests.rst | 2 +- tests/topotests/pytest.ini | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/developer/topotests.rst b/doc/developer/topotests.rst index 72de7b3bc9a4..4f9c94ca03ce 100644 --- a/doc/developer/topotests.rst +++ b/doc/developer/topotests.rst @@ -37,7 +37,7 @@ Installing Topotest Requirements tshark \ valgrind python3 -m pip install wheel - python3 -m pip install 'pytest>=6.2.4' 'pytest-xdist>=2.3.0' + python3 -m pip install 'pytest>=8.3.2' 'pytest-asyncio>=0.24.0' 'pytest-xdist>=3.6.1' python3 -m pip install 'scapy>=2.4.5' python3 -m pip install xmltodict python3 -m pip install git+https://github.com/Exa-Networks/exabgp@0659057837cd6c6351579e9f0fa47e9fb7de7311 diff --git a/tests/topotests/pytest.ini b/tests/topotests/pytest.ini index 9f33917c6bb3..b234a84252b3 100644 --- a/tests/topotests/pytest.ini +++ b/tests/topotests/pytest.ini @@ -2,6 +2,7 @@ [pytest] asyncio_mode = auto +asyncio_default_fixture_loop_scope = module # NEEDS_EXABGP_4_2_11_FRR