Use pytest in tox

This commit is contained in:
Brad Warren 2017-11-28 16:14:06 -08:00
parent 6f6bf8e913
commit a875059267
3 changed files with 2 additions and 4 deletions

View file

@ -32,6 +32,7 @@ if sys.version_info < (2, 7):
dev_extras = [
'pytest',
'pytest-xdist',
'tox',
]

View file

@ -17,5 +17,5 @@ for requirement in "$@" ; do
if [ $pkg = "." ]; then
pkg="certbot"
fi
nosetests -v $pkg --processes=-1 --process-timeout=100
pytest --numprocesses auto --quiet --pyargs $pkg
done

View file

@ -6,9 +6,6 @@
skipsdist = true
envlist = modification,py{26,33,34,35,36},cover,lint
# nosetest -v => more verbose output, allows to detect busy waiting
# loops, especially on Travis
[base]
# pip installs the requested packages in editable mode
pip_install = {toxinidir}/tools/pip_install_editable.sh