-
-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathpytest.ini
More file actions
23 lines (23 loc) · 700 Bytes
/
pytest.ini
File metadata and controls
23 lines (23 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[pytest]
addopts =
# show 10 slowest invocations:
--durations=10
# a bit of verbosity doesn't hurt:
-v
# report all the things == -rxXs:
-ra
# show values of the local vars in errors:
--showlocals
# coverage reports
--cov=aiosmtpd/ --cov-report term
filterwarnings =
error
# TODO: Replace pkg_resources
ignore:pkg_resources is deprecated as an API:DeprecationWarning
# TODO: Fix resource warnings
ignore:unclosed transport:ResourceWarning
ignore:unclosed <socket.socket:ResourceWarning
ignore:unclosed event loop:ResourceWarning
ignore:loop is closed:ResourceWarning
testpaths = aiosmtpd/tests/ aiosmtpd/qa/
xfail_strict = true