[Zope-Coders] Zope 2.6 breaks CMF Tests

Chris Withers chrisw@nipltd.com
Tue, 19 Nov 2002 11:55:36 +0000


Shane Hathaway wrote:
> Chris Withers wrote:
> 
>> I tried the following patch:
>> --- \zope\cmf_dev\Products\all_cmf_tests.py     Mon Aug 19 18:25:46 2002
>> +++ all_cmf_tests.py    Fri Nov 15 11:02:50 2002
>> @@ -14,7 +14,9 @@
>>
>>  def test_suite():
>>
>> +    import Testing
>>      import Zope
> 
> 
> If you insert "Zope.startup()" here, everything should work.  

It does.

> It's not a 
> completely satisfactory solution, though.  

Indeed ;-) Surely this rather sudden change stands to break a lot of things that 
use 'import Zope' to get Zope-ish things up and running?

> to slightly modify the way Zope starts up to deal with a big ZEO bug.

Hmmm... why did thsi require the 'import Zope' idiom to stop working?

cheers,

Chris