diff options
| author | Ceridwen <ceridwenv@gmail.com> | 2017-03-08 15:41:42 -0500 |
|---|---|---|
| committer | Ceridwen <ceridwenv@gmail.com> | 2017-03-08 15:41:42 -0500 |
| commit | dc7cdd223f7d0897d7c5f6c3dd89143ca3128bc7 (patch) | |
| tree | d7ead582e12e2194b2d99452c4b0aa760aa3e034 | |
| parent | bf3d6876c310b39d045f6338ec8b93d2b1967072 (diff) | |
| download | astroid-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.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
