[tox.ini] use 'testpaths' to tell py.test where to look for tests

this to avoid picking up undesired tests by accident when running `py.test` command without specific dirs or files
This commit is contained in:
Cosimo Lupo 2016-02-06 17:12:01 +00:00
parent d03ce3c119
commit 568b4e9129

View File

@ -6,9 +6,11 @@ deps =
pytest pytest
-rrequirements.txt -rrequirements.txt
commands = commands =
py.test Lib/fontTools py.test
[pytest] [pytest]
testpaths =
Lib/fontTools
addopts = addopts =
# run py.test in verbose mode # run py.test in verbose mode
-v -v