Skip to content

Commit f4c7525

Browse files
PiDelportblag
authored andcommitted
Use {posargs} for Tox test command target
This allows specifying a subset of tests to run from the Tox command line, when developing.
1 parent ade5585 commit f4c7525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ envlist =
44
py{27,34,35,36}-dj1.{8,9,10}
55

66
[testenv]
7-
commands=python {toxinidir}/test_project/manage.py test test_app --noinput
7+
commands=python {toxinidir}/test_project/manage.py test {posargs:test_app} --noinput
88
passenv = DJANGO_VERSION POSTGRES_USER POSTGRES_PASSWORD TRAVIS_BRANCH
99
TRAVIS_COMMIT TRAVIS_LOG_LEVEL TRAVIS_PULL_REQUEST_BRANCH
1010
TRAVIS_REPO_SLUG

0 commit comments

Comments
 (0)