-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
24 lines (24 loc) · 1.11 KB
/
pytest.ini
File metadata and controls
24 lines (24 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests against real providers
# Per-test timeout (pytest-timeout plugin). Any single test that runs longer
# than 60s is killed and reported as a failure, so a hung test surfaces
# clearly in CI instead of consuming the entire 6h job budget. Override on
# a single test with @pytest.mark.timeout(N) if it legitimately needs more.
timeout = 60
timeout_method = thread
filterwarnings =
ignore::DeprecationWarning:importlib._bootstrap:241
# pydub imports lazily probe for ffmpeg/avconv on PATH at import time and
# emit a RuntimeWarning when neither is installed. pydub itself is pulled
# in as a transitive of markitdown[audio-transcription] and is not used
# by unit/integration test paths. Not installing ffmpeg in CI is a
# deliberate keep-the-runner-image-small choice; suppress the noise.
ignore::RuntimeWarning:pydub.utils