Skip to content

Commit 5740c5f

Browse files
committed
Tox can pass positional arguments to test runners
1 parent f881387 commit 5740c5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ passenv = WITH_GCOV
1414
# - Enable BytesWarning
1515
# - Turn all warnings into exceptions.
1616
commands = {envpython} -bb -Werror \
17-
-m unittest discover -v -s Tests -p 't_*'
17+
-m unittest discover -v -s Tests -p 't_*' {posargs}
1818

1919
[testenv:py3-nosasltls]
2020
basepython = python3
@@ -52,7 +52,7 @@ passenv = {[testenv]passenv}
5252
setenv =
5353
CI_DISABLED=INIT_FD
5454
commands =
55-
{envpython} -m unittest -v \
55+
{envpython} -m unittest -v {posargs} \
5656
Tests/t_cidict.py \
5757
Tests/t_ldap_dn.py \
5858
Tests/t_ldap_filter.py \
@@ -66,7 +66,7 @@ commands =
6666
[testenv:pypy3]
6767
basepython = pypy3
6868
deps = pytest
69-
commands = {envpython} -m pytest
69+
commands = {envpython} -m pytest {posargs}
7070

7171
[testenv:doc]
7272
basepython = python3

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy