hey no problem glad you're back in business.
On Aug 13, 2010, at 11:35 AM, Dan wrote: > The issue appeared to be removing the session instance > (session.remove()) - I was trying to get a clean session for testing. > > Anyway, works fine now - thanks for your help and sorry for wasting > your time. > > On Aug 13, 4:21 pm, Dan <danjac...@gmail.com> wrote: >>> that code snippet is not complete (doesn't create a Session, doesn't add >>> Post to it, doesn't commit() or flush() the session but then removes it so >>> I guess maybe its a scoped_session, don't know) so I don't actually know >>> what you're doing. The test case below adds your assertion, uses the >>> Session properly, and works fine. The previous test I pasted also works >>> (if I bothered to write out a full test for it, you can be sure I ran it). >> >> Sorry for lack of context - had to strip out test from a whole lot of >> other code - not an excuse I know. >> >> There must be some other issue here, I'll investigate further and let >> you know. > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to sqlalch...@googlegroups.com. > To unsubscribe from this group, send email to > sqlalchemy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.