/
pytest.ini
34 lines (34 loc) · 1009 Bytes
/
pytest.ini
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
[pytest]
addopts =
--cov=polycotylus
--no-cov-on-fail
--showlocals
--ignore tests/mock-packages/
testpaths =
tests
order =
- tests/test_
- docker.py
- mirror.py
- configuration.py
- project.py
- desktopfile.py
- arch.py
- alpine.py
- opensuse.py
- void.py
- fedora.py
- manjaro.py
- docs.py
- debian.py
- ubuntu.py
- completion.py
filterwarnings =
error::Warning
ignore::ResourceWarning
# When dropping support for Python 3.8, replace
# importlib.resources.read_bytes("polycotylus", "xyz") with
# (importlib.resources.files("polycotylus") / "xyz").read_bytes().
ignore:(read|open)_(text|binary) is deprecated. Use files\(\) instead.:DeprecationWarning
# Delete when python-dateutil>2.8.2 containing fix for https://github.com/dateutil/dateutil/issues/1314 is released.
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:dateutil.tz.tz