[Zope-CMF] Re: Tools as local utilities

Jens Vagelpohl jens at dataflake.org
Mon Jan 22 07:26:31 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 22 Jan 2007, at 01:43, Philipp von Weitershausen wrote:

> Jens Vagelpohl wrote:
>> I have now finished (well, finished awaiting feedback and help on  
>> one item) the work on the  "jens_tools_as_utilities" branch.
>> There's one set of test failures out of CMFActionIcons/tests/ 
>> test_exportimport that I can't quite interpret. I believe it has  
>> to do with the way the tests are set up, but I'm not sure. See  
>> traceback below.
>
> You want to register the DefaultTraversable adapter for * (None).  
> I'm sure other tests in the CMF do this already, it should be easy  
> to adapt their setup code to that test.

Thanks, excellent, that works :)


>> Other than that I have one unrelated failure in the GS tests  
>> themselves and some logger messages coming through, all those  
>> smell like test cleanup issues to me. If I run the GenericSetup  
>> tests by themselves I don't get any failure.
>
> Shrug.
>
> Long live layers to push all the Zope 2 crap into that can't be  
> torn down.

The logging message happens in a layer,  
Products.CMFCalendar.testing.FunctionalLayer. I have to admit that  
anything having to do with either the CMFCalendar FunctionalLayer or  
the CMFCore FunctionalLayer has been a pain in the ass to fix with  
this utility work.

jens



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFtK14RAx5nvEhZLIRAoWlAJ4qlT8mNKHAvu8l+yZc8nFvhGfPoQCeJCxp
SiofEK1zMrkCX3PU02rE4AU=
=anos
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list