[Zope-CMF] Re: Tools as local utilities

Jens Vagelpohl jens at dataflake.org
Tue Nov 21 12:55:38 EST 2006


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

As you may have seen, I have created a branch and checked in the  
current status where I convert a single tool (CMFCore.ActionsTool) to  
be used as utility.

- - Running the unit tests shows deprecation messages for the places  
where getToolByName was used from untrusted code - we might want to  
expose some other function for that

- - There are failing tests in CMFCore.exportimport.tests.test_actions,  
basically everything that derives from  
CMFCore.exportimport.tests.test_actions._ActionSetup. The insidious  
thing is this:

   - running all tests or all CMFCore tests shows the failures

   - running *just* the CMFCore.exportimport tests _passes_

Right now I don't know if the main problem is about the test harness  
setup in _ActionSetup, or if there is some strange test interaction/ 
test cleanup issue.

I have not moved forward because I already saw the same kind of  
failures that were showing in the test_actions tests, so I'm looking  
for input on those failures first.

jens

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

iD8DBQFFYz2bRAx5nvEhZLIRAmLgAKCFaEzdJ7tAgf9121VAiL0X6Tj/YQCfZxU8
7JB6Fy3nqGqpXnxeAu94aCc=
=ik1L
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list