To make pylons.config be available not only in context or request, but
within other tests as well.

I've added two lines to tests/__init__.py:
import pylons
pylons.config.push_thread_config(pylons.test.pylonsapp.config)


This is a workaround for my tests to pass after migration to Pylons
0.9.7

I hope the change (or any other patch to address the issue) will be
merged into Pylons code itself.

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

Reply via email to