mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
Use pytest in tox
This commit is contained in:
parent
6f6bf8e913
commit
a875059267
3 changed files with 2 additions and 4 deletions
|
|
@ -32,6 +32,7 @@ if sys.version_info < (2, 7):
|
|||
|
||||
dev_extras = [
|
||||
'pytest',
|
||||
'pytest-xdist',
|
||||
'tox',
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
3
tox.ini
3
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue