1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
[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
asyncio_mode = auto
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
|