I thought this would be easy to Google, but could not find anything. Using 
pyramid+sqlalchemy+postgres.

I'm doing some unit tests and I have a large sql file that contains my db 
schema.
The goal is to have the unit test create and populate the database with 
test data, run the tests, then remove the database. 

Do I have to load the sql into a buffer as a text file using the file 
system API, or is there a direct way to execute a sql file?

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to