On May 30, 2010, at 10:58 AM, Eugueny Kontsevoy wrote: > pylons.config is broken in 1.0 (although some folks on IRC would argue that > it's a feature). > To work around the bug I have add the following line to environment.py: > > pylons.config.update(config) > > See the full file here: http://pastie.org/984565
The instructions documented here don't work? http://pylonshq.com/docs/en/1.0/testing/#testing-pylons-objects I can pull config, app_globals, etc. off the response as shown there just fine. That isn't working for other folks? In particular I'm referring to: http://pylonshq.com/docs/en/1.0/testing/#accessing-special-globals Which specifically indicates how to get to the Pylons globals for the purpose of getting app_globals or config. I plan on making the test_app setup process also populate the app_globals and config global objects, but that didn't make it for 1.0, most likely it'll be in for 1.0.1 or 1.1. So in the meantime I did try to fully document how to access these things. Cheers, Ben -- 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.
