Am 19.04.2010, 15:35 Uhr, schrieb yuppie <y.2...@wcm-solutions.de>: > 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 -- Charlie Clark Managing Director Clark Consulting & Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226 _______________________________________________ Zope-CMF maillist - Zope-CMF@zope.org https://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests