I am trying this, but it doesn't work. Any ideas? def test_session(self): from paste.registry import Registry, StackedObjectProxy import pylons
self.registry = Registry() self.registry.prepare() self.session = StackedObjectProxy() self.registry.register(pylons.session, self.session) self.session._push_object({'user':'user_id'}) response = self.app.get(url_for('/')) self.session._pop_object() --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---