Files
jupyterhub/pytest.ini
Min RK 61aed70c4d Backport PR #3841: adopt pytest-asyncio asyncio_mode='auto'
removes need for our own implementation of the same behavior in conftest

Signed-off-by: Min RK <benjaminrk@gmail.com>
2022-05-05 13:15:17 +02: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