Yes -- please let me know if that patch helps, this is exactly the 
reason why I created it.  It allows you to pull in configuration items 
through a test.cfg file as well as the normal app.cfg file.

It works on my machine, now I would like to see if it works on anyone 
else's machine.  :-)

Thanks,


Tim




Alberto Valverde wrote:

>> File "/usr/lib/python2.4/site-packages/TurboGears-1.0b1-py2.4.egg/ 
>> turbogears/database.py",
>> line 190, in set_hub
>>     raise KeyError, "No database configuration found!"
>> KeyError: 'No database configuration found!'
>>
>>
>>
>> As you maybe can see, it tries to import (and then test I presume) my
>> controllers package, and this fails.
>>
>> I admit that I'm not too happy with me putting code in
>>
>> package/__init__.py
>>
>> and maybe I should refrain from that. Yet I wonder if there is  
>> anything I can
>> do about this?
>>
>> I can go the
>>
>> nosetests -sw varms/tests
> 
> Maybe the patch at http://trac.turbogears.org/turbogears/ticket/1177  
> helps... could you give it a try and report back?
> 
> Thanks,
> Alberto
> 


-- 
Timothy Freund
http://digital-achievement.com
http://edodyssey.com

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