-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
42 lines (33 loc) · 891 Bytes
/
pytest.ini
File metadata and controls
42 lines (33 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[pytest]
# Configuration pytest pour AudioReader
# Repertoire de tests
testpaths = tests
# Pattern de fichiers de test
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Options par defaut
addopts =
--strict-markers
-ra
--tb=short
# Markers personnalises
markers =
slow: tests lents (exclure avec -m "not slow")
requires_librosa: tests necessitant librosa
requires_tts: tests necessitant TTS/XTTS
requires_soundfile: tests necessitant soundfile
integration: tests d'integration
anyio: tests asynchrones (anyio)
# Timeout par test (secondes)
# timeout = 60
# Ignorer les warnings specifiques
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Collecte
collect_ignore = ["setup.py"]
# Affichage
console_output_style = progress
# Parallele (si pytest-xdist installe)
# addopts = -n auto