[Zope-dev] zc.zope3recipes : set offline tests everywhere

Jim Fulton jim at zope.com
Mon Aug 11 15:27:23 EDT 2008


On Aug 11, 2008, at 5:17 AM, Chris Withers wrote:

> Christophe Combelles wrote:
>> Is this change ok?
>> It seems to solve the previous failures in the 3.4 kgs, and speeds  
>> up the test.
>
> I don't have a problem with the change, but this damages the  
> usefulness of README.txt as documentation.
>
> As someone who's never used zope3recipes, I'm going to read that and  
> wonder why offline = true is in there all the time as there are no  
> comments or explanation.
>
> Myself, I'd try and find another way of getting offline=true to  
> happen so that the docs can actually remain actual docs without test  
> cruft strewn throughout them.


I agree.

A sneaky way to do this would be to change the setup code to set a  
HOME environment variable to a temporary directory  
containing .buildout/default.cfg with:

   [buildout]
   newest = false

Jim

--
Jim Fulton
Zope Corporation




More information about the Zope-Dev mailing list