I use the same stack quite often.
For something like that, I usually just have the testing script create the
database:
os.system("psql -Utestuser testdatabase < path/to/script.sql")
you can store the db credentials in your shell's env variables.
you could do everything through sqlalchemy, but i find it easier to keep
that on the system level.
--
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.