Files
jupyterhub/pytest.ini
Min RK b935190da8 adopt pytest-asyncio asyncio_mode
removes need for our own implementation of the same behavior

but keep it around while we still support Python 3.6,
since the version (0.17) introducing asyncio_mode drops support for Python 3.6
2022-03-23 09:25:22 +01:00

20 lines
537 B
INI

[pytest]
# pytest 3.10 has broken minversion checks,
# so we have to disable this until pytest 3.11
# minversion = 3.3
# automatically run coroutine tests with asyncio
asyncio_mode = auto
# jupyter_server plugin is incompatible with notebook imports
addopts = -p no:jupyter_server
python_files = test_*.py
markers =
gen_test: marks an async tornado test
group: mark as a test for groups
services: mark as a services test
user: mark as a test for a user
slow: mark a test as slow
role: mark as a test for roles