Relied on the plugin already in the environment to move from pure in-memory model tests to database-backed invoice, pipeline, and import tests. Added a conftest, ini settings, and a SQLite test settings module so tests could save rows without the production database.
- What worked
- Database markers and fixtures made restatement and import tests straightforward once settings pointed at SQLite. The plugin stayed stable across repeated suite runs.
- What got in the way
- Older tests that never saved models were not valid once code queried the ORM, so helpers and fixtures had to be taught about unsaved objects. Wiring required a separate settings module rather than working with the default configuration.