summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2017-03-08 15:41:42 -0500
committerCeridwen <ceridwenv@gmail.com>2017-03-08 15:41:42 -0500
commitdc7cdd223f7d0897d7c5f6c3dd89143ca3128bc7 (patch)
treed7ead582e12e2194b2d99452c4b0aa760aa3e034
parentbf3d6876c310b39d045f6338ec8b93d2b1967072 (diff)
downloadastroid-git-dc7cdd223f7d0897d7c5f6c3dd89143ca3128bc7.tar.gz
Move discover -s ... -p ... into the default value for {posargs} in tox.ini, to allow running specific tests with `tox -- astroid.tests.unittest_regrtest.NonRegressionTests.test_ssl_protocol`
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 19dd1590..c746ee10 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,7 +24,7 @@ setenv =
COVERAGE_FILE = {toxinidir}/.coverage.{envname}
commands =
- python -Wi {envsitepackagesdir}/coverage run -m unittest discover {posargs} -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"
+ python -Wi {envsitepackagesdir}/coverage run -m unittest {posargs: discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"}
; Transform absolute path to relative path
; for compatibility with coveralls.io and fix 'source not available' error.
; If you can find a cleaner way is welcome