I confirm that in 0.9.6, SQLAlchemy o.4b7 and nose 0.9.3 my tests (app upgraded from 0.9.5) work like a charm :-) [well, except these still not green ;) ] Thanks.
T. On 9/26/07, Ben Bangert <[EMAIL PROTECTED]> wrote: > On Sep 26, 2007, at 2:09 AM, Jim Musil wrote: > > > This is probably too late, but I had the same problem. > > > > The problem is that tests are collected and tests/__init__.py runs > > before any configuration is loaded and therefore cannot be referenced. > > This makes it tough to test your db if you have connection variables > > set in your test.ini files. Or sqlalchemy, which is looking for > > configuration settings there. > > Pylons 0.9.6.1 in addition to including the security fix for private > methods, will include a nose plugin that ensures the app is loaded > before scanning for doctests. This way doc tests will work fine with > your models. > > Cheers, > Ben > -- _i______'simplicity_is_the_key'__________tomasz_nazar _ii____'i_am_concern_oriented'________________JKM-UPR _iii__'patsystem.sf.net'___________________linux_user _'aspectized.com'___________________________prevayler --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
