> How can I realize this concept of a completely new and isolated DB
> environment for each single test case that's being run?
Not sure if this is a useful answer or not, but I just made starting sql
files for each of my test suites. It's an extra step but then you have a
convenient file to put starting data in.
def setup(self):
os.sys("mysql -ufoo -pbar -Ddb_name < test_db_1.sql")
etc etc
Works ok and is actually pretty quick.
Iain
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---