Re: Pylons 0.9.5 + SAContext and nosetests gives additional warnings

2007-10-04 Thread Tomasz Nazar
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,

Re: Pylons 0.9.5 + SAContext and nosetests gives additional warnings

2007-09-26 Thread Jim Musil
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

Re: Pylons 0.9.5 + SAContext and nosetests gives additional warnings

2007-09-26 Thread Ben Bangert
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

Pylons 0.9.5 + SAContext and nosetests gives additional warnings

2007-08-03 Thread Tomasz Nazar
Hi there! In short: Using Pylons 0.9.5 + SQLAlchemy + SaContext When running app or tests all is OK. But after change from pylons.database to sacontext for each 'nosetests test_*.py' I get a configuration error in addition: AttributeError: No configuration has been registered for this process or