python/elasticsearch: update to 8.16.0
[oi-userland.git] / components / python / pyproject_api / patches / 03-tox-cov.patch
blob1fa165ac9bfc43f7b7824ebd0082d1cbca166ac1
1 We skip some tests so the coverage is less than 100%.
3 --- pyproject_api-1.8.0/tox.ini.orig
4 +++ pyproject_api-1.8.0/tox.ini
5 @@ -30,7 +30,7 @@
6 commands =
7 pytest {tty:--color=yes} {posargs: \
8 --junitxml {work_dir}{/}junit.{env_name}.xml --cov pyproject_api \
9 - --cov {tox_root}{/}tests --cov-fail-under=100 \
10 + --cov {tox_root}{/}tests --cov-fail-under=95 \
11 --cov-config=pyproject.toml --no-cov-on-fail --cov-report term-missing:skip-covered --cov-context=test \
12 --cov-report html:{env_tmp_dir}{/}htmlcov --cov-report xml:{work_dir}{/}coverage.{env_name}.xml \
13 tests}