Skip to content

Commit 1d1f48c

Browse files
authored
Merge pull request #158 from asherf/pytest
use pytest for end2end tests
2 parents 2034727 + c148a0b commit 1d1f48c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ changedir =
1515
end2end: {toxinidir}/django_prometheus/tests/end2end
1616
setenv =
1717
end2end: PYTHONPATH = {toxinidir}
18+
end2end: DJANGO_SETTINGS_MODULE=testapp.settings
1819
commands =
19-
end2end: coverage run --source=django_prometheus manage.py test
20+
end2end: coverage run --source=django_prometheus -m pytest testapp/
2021
unittests: coverage run --source=django_prometheus setup.py test
2122
unittests: python setup.py sdist bdist_wheel
2223

0 commit comments

Comments
 (0)