summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2022-02-01 19:32:33 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2022-02-01 19:32:33 +0100
commit7f71dbd9a7ebbd016a93eff82ab82d844eff4283 (patch)
tree0457a5b8e5831bc352c4576ea29f3d01d1f7c034 /pytest.ini
parent533e2893c392dc06b04e03683c6869f65cb46c97 (diff)
downloadcherrypy-git-7f71dbd9a7ebbd016a93eff82ab82d844eff4283.tar.gz
Set coveragepy context to `test` via `pytest-cov`
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
index b5fd53d3..e0e64b45 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -37,6 +37,7 @@ addopts =
--cov-report=html:.tox/tmp/test-results/pytest/cov/
--cov-report=xml
# --cov-report xml:.test-results/pytest/cov.xml # alternatively move it here
+ --cov-context=test
doctest_optionflags = ALLOW_UNICODE ELLIPSIS