Bonjour, Florent. On Monday February 23, 2009 22:37:42 Florent Aide wrote: > I would like two things: > > - first: give a lot of comments in the test.ini file on what this > variable really means, or we'll get everyone asking in the ML what is > does and should it be removed.
Agreed. > - second: provide testing of quickstart protected zones in the > quickstart+ auth test to prove to the simple user the challenge for > protected protected controllers indeed exists (the last example you > gave about test_forced_login and stuff) +10. > And... Gustavo, thanks for the hard work you're putting in TG2 those days. It's a real pleasure to contribute to something people find useful :) > Last time I tried to implement a auth test i wrote what you did in the > forced_login example. But when I tried login_handler.follow() it > refused to give me access to the resource because the cookie had not > been set in my test browser (not even sent back). Did you change > something to make that work? This is not quite important as long as it > works now. I may have overlooked a stupid implementation fault > somewhere in my test... Just out of curiosity. I tested authentication that way on a Pylons project, and it worked (the cookie was set). For the first time I tried to test authentication alone, but I got the OperationalError exception I just posted in another thread: http://groups.google.com/group/turbogears- trunk/browse_thread/thread/f366286ebde22528 Theoretically, once the DB problem is solved, test cases like that should pass because the session cookie should be set. Cheers! -- Gustavo Narea <http://gustavonarea.net/>. Get rid of unethical constraints! Get freedomware: http://www.getgnulinux.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
