[ZCM] Re: [ZC] 1233/12 Comment "ZOPE_CONFIG environment var for
app=Zope.app()"
Stefan H. Holek
stefan at epy.co.at
Fri May 21 05:43:17 EDT 2004
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