vendredi 12 avril 2019

setUp Django test with insert statements from a .sql files

I have a .sql file with insert statements for different tables. How can I run the file against test in-memory db in setUp() method of a TestCase?

Aucun commentaire:

Enregistrer un commentaire