ok, got it to work with the change posted before. now nosetests fail because of:
File ".../tests/__init__.py", line 33, in setUp wsgiapp = loadapp('config:%s' % config['__file__']) where would i get the __file__ path now? On Sat, Feb 6, 2010 at 7:19 PM, Ben Bangert <b...@groovie.org> wrote: > On Feb 6, 2010, at 10:13 AM, Robert Forkel wrote: > >> hm. the config object i now pass into make_map doesn't seem to be >> initialized from the config file. >> does this change mean that i can't use "from pylons import config" anymore? > > What is the order in your environment.py of the function calls? As long as > the init_app is called before the make_map, then the config passed in will > have all the proper values in it. You can use the 'from pylons import config' > line still throughout your app, but its recommended you pass it around in the > initialization stage. > > - Ben > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to pylons-disc...@googlegroups.com. > To unsubscribe from this group, send email to > pylons-discuss+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.