Am 19.04.2010, 15:35 Uhr, schrieb yuppie <>:

> And please don't forget that I plan to replace the unauth redirect code
> completely.

I've been working on a "getLoginURL()" method to be able to handle  
login/logout actions as well as the current behaviour but I don't seem to  
be able to write any usable tests as the methods depend on "getToolByName"  
which works fine for the root object as long as the tools are registered  
but not for the CookieCrumbler itself. I just get an AttibuteError for  
whichever tool: "portal_url", "portal_actions", etc.

Is it wrong to test like this?

Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to