pytest.ini
[pytest]
addopts =
# `pytest-xdist` == -n auto:
--numprocesses=auto
# 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
# autocollect and invoke the doctests from all modules:
--doctest-modules
# `pytest-cov`:
--cov=swcheckin
doctest_optionflags = ALLOW_UNICODE ELLIPSIS
filterwarnings =
error
# drop this once aiohttp>4 is out
ignore:The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.:DeprecationWarning
junit_duration_report = call
junit_family = xunit2
junit_suite_name = swcheckin_test_suite
minversion = 5.3.3
norecursedirs =
build
dist
docs
swcheckin.egg-info
.cache
.eggs
.git
.github
.tox
testpaths = tests/
xfail_strict = true