> Ah, that is true. There is ticket #1101 open for this. I've no immediate
> plans to work on this, but will accept patches.

I'm not sure my home made DBTest class is up to the patch standard. I
basically just stole the setup and teardown functions from
test_sqlalchemy and put them into my DBTest class. But to get a
session with transaction without calling those wrapper methods in
turbogears.database, I still had to make a global session in my test
module. To have Elixir use that session too, I just put the session in
a __session__ module variable. There's probably a way to set a
__session__ variable into the module from an external class, but I'm
not too sure.

Yuen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to