2015-07-06 09:54:53 +02:00
|
|
|
[tox]
|
2017-03-10 15:15:21 +01:00
|
|
|
envlist = py27,py36,pypy
|
|
|
|
|
2015-07-06 09:54:53 +02:00
|
|
|
[testenv]
|
2017-03-10 15:15:21 +01:00
|
|
|
deps=
|
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
pytest
|
|
|
|
pytest-capturelog
|
|
|
|
pytest-cov
|
|
|
|
commands=
|
|
|
|
py.test --cov-report= --cov={envsitepackagesdir}/googletrans {posargs:}
|
|
|
|
|
|
|
|
[pytest]
|
|
|
|
addopts = -v
|
|
|
|
testpaths = googletrans/ tests/
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
exclude = .tox
|