Skip to content

Commit

Permalink
Tox can pass positional arguments to test runners
Browse files Browse the repository at this point in the history
  • Loading branch information
Éloi Rivard committed Sep 1, 2020
1 parent f881387 commit 5740c5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ passenv = WITH_GCOV
# - Enable BytesWarning
# - Turn all warnings into exceptions.
commands = {envpython} -bb -Werror \
-m unittest discover -v -s Tests -p 't_*'
-m unittest discover -v -s Tests -p 't_*' {posargs}

[testenv:py3-nosasltls]
basepython = python3
Expand Down Expand Up @@ -52,7 +52,7 @@ passenv = {[testenv]passenv}
setenv =
CI_DISABLED=INIT_FD
commands =
{envpython} -m unittest -v \
{envpython} -m unittest -v {posargs} \
Tests/t_cidict.py \
Tests/t_ldap_dn.py \
Tests/t_ldap_filter.py \
Expand All @@ -66,7 +66,7 @@ commands =
[testenv:pypy3]
basepython = pypy3
deps = pytest
commands = {envpython} -m pytest
commands = {envpython} -m pytest {posargs}

[testenv:doc]
basepython = python3
Expand Down

0 comments on commit 5740c5f

Please sign in to comment.