[Zope-dev] Re: Unittests with different zope configuration?

Andreas Jung lists at zopyx.com
Wed Jun 7 07:48:51 EDT 2006



--On 7. Juni 2006 08:50:41 -0230 Rocky Burt <rocky at serverzen.com> wrote:

> On Wed, 2006-07-06 at 12:04 +0200, Stefan H. Holek wrote:
>> I use this to set debug-mode off:
>>
>>      # Switch off debug mode
>>      import App.config
>>      config = App.config.getConfiguration()
>>      config.debug_mode = 0
>>      App.config.setConfiguration(config)
>
> Oh wow, this trick should come in handy.  Thanks Stefan!
>

Cheers to Mr. Testing

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20060607/964091ca/attachment.bin


More information about the Zope-Dev mailing list