Skip to content

Commit ad626d4

Browse files
committed
feat: add posargs to tox
allows devs to run specifc tests `tox -e py310-dj32 -- tests.test_admin.OTPAdminSiteTest.test_otp_admin_without_otp`
1 parent df19323 commit ad626d4

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
@@ -53,7 +53,7 @@ extras =
5353
ignore_outcome =
5454
djmain: True
5555
commands =
56-
coverage run {env:COVERAGE_OPTIONS:} {envbindir}{/}django-admin.py test -v 2 --pythonpath=./ --settings=tests.settings
56+
coverage run {env:COVERAGE_OPTIONS:} {envbindir}{/}django-admin.py test -v 2 --pythonpath=./ --settings=tests.settings {posargs}
5757
coverage report
5858

5959
[testenv:flake8]

0 commit comments

Comments
 (0)