On 19/10/2010 17:14, Michael Bayer wrote:
The problem I have is that despite the fact that I create the engine for every
test, I'm still seeing tables and row entries surviving across tests, but only
when one or more tests fail.
its not possible at all if you're using a :memory: database and all access is
against self.Session.
That's what I thought, but it happens...
Otherwise you want to make sure your tearDown is tearing everything down
correctly.
..but if I'm creating the engine from scratch in setUp, whatever happens
here shouldn't even matter, right?
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
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.