[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/applicationcontrol/browser/ Added support for multiple databases in ZODB Control View.

Baiju M mbaiju at zeomega.com
Wed Jan 31 06:43:17 EST 2007


Jodok Batlogg wrote:

> Log message for revision 72272:
> Added support for multiple databases in ZODB Control View.
>
>
> Changed:
> A Zope3/trunk/src/zope/app/applicationcontrol/browser/ftests/ftesting.zcml
> U 
> Zope3/trunk/src/zope/app/applicationcontrol/browser/ftests/test_zodbcontrol.py
> A Zope3/trunk/src/zope/app/applicationcontrol/browser/ftests/zodb.txt
> U Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.pt
> U Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.py

[snip]

>
>
> Modified: 
> Zope3/trunk/src/zope/app/applicationcontrol/browser/ftests/test_zodbcontrol.py
> ===================================================================
> --- 
> Zope3/trunk/src/zope/app/applicationcontrol/browser/ftests/test_zodbcontrol.py 
> 2007-01-31 08:35:25 UTC (rev 72271)
> +++ 
> Zope3/trunk/src/zope/app/applicationcontrol/browser/ftests/test_zodbcontrol.py 
> 2007-01-31 11:28:58 UTC (rev 72272)
> @@ -16,25 +16,39 @@
> $Id$
> """
> import unittest
> +import ZODB.tests.util
> +from ZODB.interfaces import IDatabase
> +from zope.app.testing import functional
> +from zope import component
>
> -from zope.app.testing.functional import BrowserTestCase
>
> +functional.defineLayer('TestLayer', 'ftesting.zcml')

Please consider changing the name of layer to something like 
'ApplicationControlLayer'.

Regards,
Baiju M


More information about the Zope3-Checkins mailing list