mtlynch / whatgotdone

A tool for sharing weekly task updates with teammates.
https://whatgotdone.com
Apache License 2.0
143 stars 14 forks source link

Switch draft handler tests to use real datastore #796

Closed mtlynch closed 2 years ago

mtlynch commented 2 years ago

Instead of using a mock datastore, it's better to test with the real SQLite datastore implementation. We use the :memory: path to ensure the DB stays in memory and doesn't persist across tests.