2009/7/23 Branko Vukelic <[email protected]>: > > Hi, > > How do I read session data from within a test? Do I manually unpickle > the data stored in the DB (in case of a DB session) or there's some > other way? > > I'm using the browser.py that comes with web.py. Can I use it to somehow > get to the session data? Reading the source for browser.py didn't reveal > an obvious way to do that, but I thought I'd ask anyway.
you can import your code and access the session object. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
