Files
jupyterhub/pytest.ini
Min RK 470d7624a3 show timestamps in captured logs
for easier debugging of timelines
2025-03-25 11:53:57 +01:00

30 lines
1.0 KiB
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
# use module-level loop scope (requires pytest-asyncio 0.24)
asyncio_default_fixture_loop_scope = module
# jupyter_server plugin is incompatible with notebook imports
addopts = -p no:jupyter_server -m 'not browser' --color yes --durations 10 --verbose
log_format = %(asctime)s %(levelname)s %(filename)s:%(lineno)s %(message)s
log_date_format = %H:%M:%S
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
browser: web tests that run with playwright
filterwarnings =
ignore:.*The new signature is "def engine_connect\(conn\)"*:sqlalchemy.exc.SADeprecationWarning
ignore:.*The new signature is "def engine_connect\(conn\)"*:sqlalchemy.exc.SAWarning