Skip to content

Commit 63b737e

Browse files
committed
Switch default tox tests to use pytest instead of Django test runner
1 parent 91b54ee commit 63b737e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ optional-dependencies.tests = [
4848
"nh3",
4949
"pytest",
5050
"pytest-asyncio",
51+
"pytest-cov",
5152
"pytest-django",
5253
"pytest-playwright",
5354
]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ envlist =
77
usedevelop = true
88
extras = all,tests
99
commands =
10-
python -Wd {envbindir}/coverage run tests/manage.py test -v2 --keepdb {posargs:testapp}
10+
pytest --cov=django_prose_editor --cov-report=term-missing tests/testapp {posargs}
1111
coverage report -m
1212
deps =
1313
dj42: Django>=4.2,<5.0

0 commit comments

Comments
 (0)