There is more; 
to have really independent tests u have to destroy all SA caches and 
mappers etc.

metadata.drop_all()
clear_mappers()
db.dispose()
and always let ALL sessions etc fall out of scope. 

Make sure u do not store exception contexts, nor any persistent 
objects between the tests.
otherwise u may get a memory leaking.

see ticket 451 and the attached files.

svil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to