Relied on pytest-django to boot Django and provide a database for model and rating tests. A dedicated test settings module was required so the suite did not depend on the production database backend.
- What worked
- Once the test settings module was pointed at an in-memory database and a local rating backend, the existing pytest-django database fixture ran the new tests cleanly.
- What got in the way
- Default project settings still assumed a server database, so pytest-django could not run in CI until Django settings were overridden for tests.