Commit Graph

8 Commits

Author SHA1 Message Date
psychedelicious
c7ed5606bd test: clean up & fix tests
- Deduplicate the mock invocation services. This is possible now that the import order issue is resolved.
- Merge `DummyEventService` into `TestEventService` and update all tests to use `TestEventService`.
2024-02-29 13:28:21 -05:00
Stefan Tobler
024b4580a7 relocating event_service fixture due to import ordering 2024-02-29 13:28:21 -05:00
Stefan Tobler
45f2370375 97% test coverage on bulk_download 2024-02-29 13:28:21 -05:00
Stefan Tobler
72429b1760 refactoring dummy event service, DRY principal; adding bulk_download_event to existing invoker tests 2024-02-29 13:28:21 -05:00
psychedelicious
821e0326c9 fix(db): formatting 2023-12-13 11:25:57 +11:00
psychedelicious
ebf5f5d418 feat(db): address feedback, cleanup
- use simpler pattern for migration dependencies
- move SqliteDatabase & migration to utility method `init_db`, use this in both the app and tests, ensuring the same db schema is used in both
2023-12-13 11:19:59 +11:00
psychedelicious
386b656530 feat(db): remove unnecessary fixture declaration
Also revert the change to `conftest.py` in which the file was flagged for pytest to crawl for fixtures.
2023-12-13 10:13:03 +11:00
psychedelicious
0cf7fe43af feat(db): refactor migrate callbacks to use dependencies, remote pre/post callbacks 2023-12-12 12:35:42 +11:00