schireson / pytest-mock-resources

Pytest Fixtures that let you actually test against external resource (Postgres, Mongo, Redshift...) dependent code.
https://pytest-mock-resources.readthedocs.io/en/latest/quickstart.html
MIT License
183 stars 19 forks source link

sqlite missing foreign key support #31

Closed DanCardin closed 5 years ago

DanCardin commented 5 years ago

By default sqlite does not enforce foreign key constraints. running PRAGMA foreign_keys=ON on connection solves this.

oakhan3 commented 5 years ago

Ticket: https://schireson.atlassian.net/browse/RUBY-553