diff options
author | Maurits van Rees <maurits@vanrees.org> | 2021-09-02 12:36:53 +0200 |
---|---|---|
committer | Maurits van Rees <maurits@vanrees.org> | 2021-09-03 10:44:41 +0200 |
commit | 0ed53e0d825290d41d6bb1e048ebc111272753b2 (patch) | |
tree | f408e77ca1a73bb16c737d9b88cb96603e29b3e2 | |
parent | 7205ea65d1734863437c8a7ff2993f532f0ba02e (diff) | |
download | zope-i18n-0ed53e0d825290d41d6bb1e048ebc111272753b2.tar.gz |
Set minimum coverage at 99 percent.
We had 100% test coverage previously, but this dropped to around 99.11 percent when using the new default in tox.ini:
```
[coverage:run]
branch = True
```
With branch=False, the coverage would be back at 100 percent,
but I don't see a way to configure this in meta.toml, and it may be better to see the actual coverage.
We should add more tests to cover the untested branches.
For now, we lower our expectations.
-rw-r--r-- | .meta.toml | 2 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ with-sphinx-doctests = true use-flake8 = true [coverage] -fail-under = 100 +fail-under = 99 [manifest] additional-rules = [ @@ -64,7 +64,7 @@ commands = coverage run -m zope.testrunner --test-path=src {posargs:-vc} coverage run -a -m sphinx -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest coverage html - coverage report -m --fail-under=100 + coverage report -m --fail-under=99 [coverage:run] branch = True |