On Sun, Jun 8, 2008 at 3:36 AM, Wichert Akkerman <[EMAIL PROTECTED]> wrote:
> Does anyone have tips or example code for getting some test data into a
> (beaker) session so a controller that's being tested can pick that up?

If I were in your shoes, I would do some variation of the following:

* Put a password in your .ini file.
* Create a controller method that checks whether the md5 of some query
parameter matches the md5 of the password.  If so, it loads the
session.
* Just make sure you hit the controller method before doing the rest
of your tests.

Happy Hacking!
-jj

-- 
I, for one, welcome our new Facebook overlords!
http://jjinux.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to