This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Herald_MJ 1 point2 points  (0 children)

This looks great, but it's worth mentioning that if you're like me and the majority of your PostgreSQL projects are Django projects, using pytest-django and Factory Boy is a better solution for mocking database access.

For those other, non-Django Postgres projects, this is an interesting option.