python/elasticsearch: update to 8.16.0
[oi-userland.git] / components / python / pyproject_api / patches / 02-tox-cov-proto.patch
blobe81200d613a9b0f59398aabb1468f502078975e8
1 We test in proto area not in site-packages.
3 --- pyproject_api-1.8.0/tox.ini.orig
4 +++ pyproject_api-1.8.0/tox.ini
5 @@ -29,7 +29,7 @@
6 _COVERAGE_SRC = {env_site_packages_dir}/sphinx_argparse_cli
7 commands =
8 pytest {tty:--color=yes} {posargs: \
9 - --junitxml {work_dir}{/}junit.{env_name}.xml --cov {env_site_packages_dir}{/}pyproject_api \
10 + --junitxml {work_dir}{/}junit.{env_name}.xml --cov pyproject_api \
11 --cov {tox_root}{/}tests --cov-fail-under=100 \
12 --cov-config=pyproject.toml --no-cov-on-fail --cov-report term-missing:skip-covered --cov-context=test \
13 --cov-report html:{env_tmp_dir}{/}htmlcov --cov-report xml:{work_dir}{/}coverage.{env_name}.xml \