I noticed this by running only the tests for docs: python manage.py test docs.
This PR fixes the fixture but also changes the dev.py settings to use a DummyCache which would catch these kinds of errors in the future (at the cost of slightly worse performance for local development, which I think is acceptable).
Because the cache is not being used anymore during the tests, I've had to adjust two tests that were counting queries.
I noticed this by running only the tests for
docs
:python manage.py test docs
.This PR fixes the fixture but also changes the
dev.py
settings to use aDummyCache
which would catch these kinds of errors in the future (at the cost of slightly worse performance for local development, which I think is acceptable). Because the cache is not being used anymore during the tests, I've had to adjust two tests that were counting queries.