From c42d966a4088d9ef26eac70040fe68029b71877c Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 1 Sep 2017 18:55:21 -0300 Subject: [PATCH] Change all pytest report options to the more concise '-ra' in tox.ini --- tox.ini | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tox.ini b/tox.ini index c72bd7c0a..89383e6fb 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ envlist = docs [testenv] -commands = pytest --lsof -rfsxX {posargs:testing} +commands = pytest --lsof -ra {posargs:testing} passenv = USER USERNAME setenv= pluggymaster: _PYTEST_SETUP_SKIP_PLUGGY_DEP=1 @@ -31,7 +31,7 @@ deps = pluggymaster: git+https://github.com/pytest-dev/pluggy.git@master [testenv:py26] -commands = pytest --lsof -rfsxX {posargs:testing} +commands = pytest --lsof -ra {posargs:testing} # pinning mock to last supported version for python 2.6 deps = hypothesis<3.0 @@ -46,7 +46,7 @@ deps = mock nose commands = - pytest -n3 -rfsxX --runpytest=subprocess {posargs:testing} + pytest -n3 -ra --runpytest=subprocess {posargs:testing} [testenv:linting] @@ -69,26 +69,26 @@ deps = nose hypothesis>=3.5.2 commands = - pytest -n1 -rfsxX {posargs:testing} + pytest -n1 -ra {posargs:testing} [testenv:py35-xdist] deps = {[testenv:py27-xdist]deps} commands = - pytest -n3 -rfsxX {posargs:testing} + pytest -n3 -ra {posargs:testing} [testenv:py27-pexpect] changedir = testing platform = linux|darwin deps = pexpect commands = - pytest -rfsxX test_pdb.py test_terminal.py test_unittest.py + pytest -ra test_pdb.py test_terminal.py test_unittest.py [testenv:py35-pexpect] changedir = testing platform = linux|darwin deps = {[testenv:py27-pexpect]deps} commands = - pytest -rfsxX test_pdb.py test_terminal.py test_unittest.py + pytest -ra test_pdb.py test_terminal.py test_unittest.py [testenv:py27-nobyte] deps = @@ -98,7 +98,7 @@ distribute = true setenv = PYTHONDONTWRITEBYTECODE=1 commands = - pytest -n3 -rfsxX {posargs:testing} + pytest -n3 -ra {posargs:testing} [testenv:py27-trial] deps = twisted @@ -113,12 +113,12 @@ commands = [testenv:py27-numpy] deps=numpy commands= - pytest -rfsxX {posargs:testing/python/approx.py} + pytest -ra {posargs:testing/python/approx.py} [testenv:py35-numpy] deps=numpy commands= - pytest -rfsxX {posargs:testing/python/approx.py} + pytest -ra {posargs:testing/python/approx.py} [testenv:docs] skipsdist = True @@ -141,7 +141,7 @@ changedir = doc/ deps = PyYAML commands = - pytest -rfsxX en + pytest -ra en pytest --doctest-modules --pyargs _pytest [testenv:regen] @@ -170,7 +170,7 @@ commands = [testenv:jython] changedir = testing commands = - {envpython} {envbindir}/py.test-jython -rfsxX {posargs} + {envpython} {envbindir}/py.test-jython -ra {posargs} [testenv:freeze] changedir = testing/freeze @@ -197,7 +197,7 @@ commands = minversion = 2.0 plugins = pytester #--pyargs --doctest-modules --ignore=.tox -addopts = -rxsX -p pytester --ignore=testing/cx_freeze +addopts = -ra -p pytester --ignore=testing/cx_freeze rsyncdirs = tox.ini pytest.py _pytest testing python_files = test_*.py *_test.py testing/*/*.py python_classes = Test Acceptance