[ZCM] Re: [ZC] 1233/12 Comment "ZOPE_CONFIG environment var for app=Zope.app()"

Andreas Jung andreas at andreas-jung.com
Fri May 21 05:50:47 EDT 2004


Hi,

I am still not getting the point. The Zope unittest are running untouched 
with the patch.
Why can't  the Plone unittests be run in the same way?

-aj

--On Freitag, 21. Mai 2004 11:43 Uhr +0200 "Stefan H. Holek" 
<stefan at epy.co.at> wrote:

> Andreas,
>
> This is not correct. Zope 2.7 has a DefaultConfiguration (in App.config)
> which is used if no configfile is present. Unit tests are supposed to run
> with the default configuration.
>
> Stefan
>
>
> On Donnerstag, Mai 20, 2004, at 20:10 Europe/Vienna, Andreas Jung wrote:
>
>>>
>>>   import Testing, Zope
>>>   app = Zope.app()       # error occurs here
>> This worked until Zope 2.6. Since 2.7 it has been always necessary to
>> call
>> Zope.configure(...) before Zope.app(). This patch just restores
>> compatibility
>> with earlier Zope versions.
>>
>> Andreas
>>
>>
> --
> The time has come to start talking about whether the emperor is as well
> dressed as we are supposed to think he is.               /Pete McBreen/







More information about the Zope-Collector-Monitor mailing list