[Zope-CMF] Re: CachingPolicyManager improvements

Geoff Davis geoff at phds.org
Fri Sep 2 18:49:12 EDT 2005

On Fri, 02 Sep 2005 23:08:37 +0100, Jens Vagelpohl wrote:
> IMHO there is at least one problematic item (well, it's not for the  
> trunk, but for the 1.5/1.4 branches), which is the dependency on  
> ZopeTestCase. The way the code works right now you immediately  
> prevent any tests from running on platforms that do not have  
> ZopeTestCase installed - it blows up the testrunner. That needs to  
> degrade a bit more gracefully in the absence of ZopeTestCase.

So you would be OK if the tests just failed if ZopeTestCase were not

I think something along the lines of

   from ZopeTestCase import ZopeTestCase
   print 'Install ZopeTestCase!'
   class ZopeTestCase:

might do the trick.  Unless you want to write your own functional tests ;)

More information about the Zope-CMF mailing list