summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authoradehad <26027314+adehad@users.noreply.github.com>2021-10-21 21:56:13 +0100
committeradehad <26027314+adehad@users.noreply.github.com>2021-10-21 21:56:13 +0100
commita20ffffaae25cd12b3513a930df2951cac452e4d (patch)
treea0bd7f3d5b04b9fbd3ec14f8dd67b0be9445c6c1 /tox.ini
parenta8f8635f002fef32f35852a9dc2ede1b9732d731 (diff)
downloadtftpy-a20ffffaae25cd12b3513a930df2951cac452e4d.tar.gz
add pytest config
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 6301a14..de90c0a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,6 +13,7 @@ skipdist = True
usedevelop = True
deps =
pytest
+ pytest-cov
setenv =
PYTHONIOENCODING=UTF-8
PIP_DISABLE_PIP_VERSION_CHECK=1
@@ -21,7 +22,8 @@ passenv =
whitelist_externals =
git
commands=
- python -m pytest t/test.py {posargs}
+ # pyproject.toml for config and defaults
+ python -m pytest {posargs}
[testenv:pkg]
deps =