Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Commit 81bc8dc

Browse files
committed
Added {posargs} to tox.ini to allow specifying stuff like -x or a specific test set
1 parent b342f15 commit 81bc8dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ deps =
1111
pytest-rerunfailures
1212
tornado
1313
commands =
14-
py.test --reruns=3 consul tests
14+
py.test --reruns=3 {posargs:consul tests}
1515

1616
[testenv:py34]
1717
deps =
@@ -21,7 +21,7 @@ deps =
2121
aiohttp
2222
flake8
2323
commands =
24-
py.test --reruns=3 consul tests
24+
py.test --reruns=3 {posargs:consul tests}
2525
flake8 --exclude=".tox/*,xx/*,__*,docs/*"
2626

2727
[testenv:flake8]

0 commit comments

Comments
 (0)