Skip to content

Commit 280ee64

Browse files
committed
Adjust tox invocation of test execution.
1 parent 874c593 commit 280ee64

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ basepython =
1414
py313: python3.13
1515
py314: python3.14
1616
usedevelop = true
17+
setenv =
18+
DJANGO_SETTINGS_MODULE=tests.settings
1719
commands =
18-
coverage run {envbindir}/django-admin test -v2 --settings=tests.settings {posargs}
20+
{envpython} -R -Wonce {envbindir}/coverage run -a -m django test -v2 {posargs}
1921
coverage report
2022
deps =
2123
coverage

0 commit comments

Comments
 (0)