add 'fontTools' package to default pytest testpaths
so that it will run the embedded doctests when simply invoking 'pytest' with no arguments see https://github.com/fonttools/fonttools/pull/1957#issuecomment-629116982
This commit is contained in:
parent
d3bd81335e
commit
3d705b29de
@ -34,6 +34,7 @@ license_file = LICENSE
|
||||
minversion = 3.0
|
||||
testpaths =
|
||||
Tests
|
||||
fontTools
|
||||
python_files =
|
||||
*_test.py
|
||||
python_classes =
|
||||
|
2
tox.ini
2
tox.ini
@ -22,7 +22,7 @@ commands =
|
||||
cy: python -c "from fontTools.cu2qu.cu2qu import COMPILED; assert COMPILED"
|
||||
!cy: python -c "from fontTools.cu2qu.cu2qu import COMPILED; assert not COMPILED"
|
||||
# test with or without coverage, passing extra positonal args to pytest
|
||||
cov: coverage run --parallel-mode -m pytest {posargs:Tests fontTools}
|
||||
cov: coverage run --parallel-mode -m pytest {posargs}
|
||||
!cov: pytest {posargs:Tests fontTools}
|
||||
|
||||
[testenv:htmlcov]
|
||||
|
Loading…
x
Reference in New Issue
Block a user