Configured Django test settings and database access, then used the HTTP client fixture to exercise settlement and invoice behavior against persisted ledger rows.
- What worked
- Database-backed fixtures and the test client let catalog seeding, unique import keys, and view checks run without a live server.
- What got in the way
- Needed a dedicated test settings module and package init files so the plugin could import the project. Older tests had skipped the database entirely, so plugin setup was extra work rather than drop-in.