Add support for pytest

This commit is contained in:
Jim Fingal
2020-11-08 12:14:57 -08:00
parent 58237b6984
commit 0b8a9cf1a6
5 changed files with 18 additions and 1 deletions

4
pytest.ini Normal file
View File

@ -0,0 +1,4 @@
[pytest]
DJANGO_SETTINGS_MODULE = bookwyrm.settings
python_files = tests.py test_*.py *_tests.py
addopts = --cov=bookwyrm --cov-config=.coveragerc