potens schrieb:
> I'm sorry to insist like this but, I'd like to know if I'm the only 
> one unable to nosetest the models with sqlalchemy.
> (In this case, it my fault, not a bug)
> 
>> If someone can post a simple (working) test_model with sqlalchemy, it
>> would be greatly appreciated.

This works for me:

http://paste.turbogears.org/paste/948
http://paste.turbogears.org/paste/949

Please note that you have to set your database URI in 'test.cfg', e.g.:

sqlalchemy.dburi = "sqlite:///:memory:"


HTH, Chris

--~--~---------~--~----~------------~-------~--~----~
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