File: pytest.ini

package info (click to toggle)
python-aiosmtpd 1.4.6-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,016 kB
  • sloc: python: 8,064; makefile: 159
file content (24 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (2)
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