Skip to content

Commit 3c173df

Browse files
authored
Merge pull request FRRouting#16777 from LabNConsulting/chopps/pytest-config-update
tests: add asyncio default config param to quiet warning
2 parents fbd7431 + df2133f commit 3c173df

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/developer/topotests.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Installing Topotest Requirements
3737
tshark \
3838
valgrind
3939
python3 -m pip install wheel
40-
python3 -m pip install 'pytest>=6.2.4' 'pytest-xdist>=2.3.0'
40+
python3 -m pip install 'pytest>=8.3.2' 'pytest-asyncio>=0.24.0' 'pytest-xdist>=3.6.1'
4141
python3 -m pip install 'scapy>=2.4.5'
4242
python3 -m pip install xmltodict
4343
python3 -m pip install git+https://github.com/Exa-Networks/exabgp@0659057837cd6c6351579e9f0fa47e9fb7de7311

tests/topotests/pytest.ini

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[pytest]
33

44
asyncio_mode = auto
5+
asyncio_default_fixture_loop_scope = module
56

67
# NEEDS_EXABGP_4_2_11_FRR
78

0 commit comments

Comments
 (0)