-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpytest.ini
More file actions
28 lines (24 loc) · 782 Bytes
/
pytest.ini
File metadata and controls
28 lines (24 loc) · 782 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
# pytest.ini
[pytest]
testpaths = test
python_files = test_*.py
python_classes = Test*
python_functions = test_*
filterwarnings =
# Hide the specific distutils deprecation spam from deps
ignore:.*distutils Version classes are deprecated.*:DeprecationWarning:xarray\.core\..*
ignore:.*distutils Version classes are deprecated.*:DeprecationWarning:setuptools\._distutils\..*
# (Optional) also hide other deprecations from deps in general
ignore::PendingDeprecationWarning
ignore::DeprecationWarning
ignore::UserWarning
ignore::RuntimeWarning
addopts =
-v
--tb=short
--strict-markers
markers =
pypsa: Tests requiring PyPSA
wec_sim: Tests requiring WEC-Sim data
matlab: Tests requiring MATLAB
psse: Tests requiring PSS®E