The first method you describe seem to clash with the concept of unit testing.
I found something here: http://groups.google.com/group/pylons-discuss/browse_thread/thread/ec52fe65b960567/12b36231ff4dfb97?hl=en&lnk=gst&q=unit#12b36231ff4dfb97 But it does not work correctly, at least in pylons 0.9.6.2. I tried to use the labix Mocker to replace the pylons.session object, but it requires some unusual tweaking to work. I would really like to see how the pylons developers thought it should be done because there is no mention of this in the documentation. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
