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

2006-06-07 Thread Rocky Burt
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

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

2006-06-07 Thread Andreas Jung
--On 7. Juni 2006 08:50:41 -0230 Rocky Burt [EMAIL PROTECTED] 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

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

2006-06-07 Thread Florent Guillaume
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) The setConfiguration() is probably unnecessary, you're modifying a mutable

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

2006-06-07 Thread Andreas Jung
--On 7. Juni 2006 14:28:03 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: 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)

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

2006-06-07 Thread Florent Guillaume
Zope core doesn't use the legacy locations anymore however, right? It would potentially impact only third-party products? Florent On 7 Jun 2006, at 14:47, Stefan H. Holek wrote: It is needed to update legacy locations, e.g. copying config.instancehome to the INSTANCE_HOME built-in and into