Title here
Summary here
Unit tests run against your default database. Some of them rely on fixtures. To run unit tests, simply run:
python manage.py test
If you are using PyCharm, you’ll need to update your run configuration. Set Custom Settings to the base.py
file in ourchive_app.settings
.
As described in our contributor documentation, we do prefer high unit test coverage for PRs. But, this is not a standard we ourselves currently meet. Please do your best, and if the architecture of the codebase is preventing effective testing, call this out in your PR. Refactoring is a fact of life - feedback from other developers helps us decide what to prioritize!