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

Rocky Burt rocky at serverzen.com
Wed Jun 7 07:20:41 EDT 2006


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!

- Rocky

-- 
Rocky Burt
ServerZen Software -- http://www.serverzen.com
News About The Server (blog) -- http://www.serverzen.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20060607/cbbe8fa5/attachment.bin


More information about the Zope-Dev mailing list