forked from NeptuneHub/AudioMuse-AI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
39 lines (35 loc) · 1.24 KB
/
pytest.ini
File metadata and controls
39 lines (35 loc) · 1.24 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[pytest]
# Pytest configuration for AudioMuse-AI tests
# Filter warnings from third-party libraries
filterwarnings =
# Suppress ALL deprecation warnings from third-party libraries
ignore::DeprecationWarning
# Suppress audioop deprecation warning from pydub (third-party library issue)
ignore::DeprecationWarning:pydub.utils
ignore::DeprecationWarning:pydub
# Suppress ALL librosa warnings
ignore::UserWarning:librosa
# Suppress librosa warnings about n_fft size in tests (expected with short test audio)
ignore::UserWarning:librosa.core.spectrum
ignore::UserWarning:librosa.core
# Suppress ALL UMAP warnings
ignore::UserWarning:umap
# Suppress UMAP warnings about small datasets in unit tests
ignore::UserWarning:umap.umap_
# Suppress any other UserWarnings from test libraries
ignore::UserWarning:sklearn
ignore::UserWarning:numpy
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--tb=short
--strict-markers
# Markers for categorizing tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests