Weeknotes 2022-02-28

, Jochen
Last week we recorded a podcast episode without an identifiable main topic, but it was fun anyway :).

Made some progress on removing sqlmodel from fastdeploy. Found a way to wrap pytest test in a transaction so that it could be rolled back after each test, leaving the database in pristine condition after each test. This was not as easy as expected. Found a working example at the end of the transaction documentation of sqlalchemy. And since it's even possible to pass data back from tests to fixtures via markers, it should be possible to mark single tests to run against sqlite or a fake in memory repository.

No streams but intense doomscrolling. Let's see if I'm able to change that next week.


Articles

Youtube

Twitter

Discussions

Software 

Podcasts

Return to blog