[Checkins]
SVN: zc.sharing/trunk/src/zc/sharing/browser/ftesting.zcml
make ftests work and remove deprecation warnings
Gary Poster
gary at zope.com
Thu Feb 8 10:39:27 EST 2007
Log message for revision 72457:
make ftests work and remove deprecation warnings
Changed:
U zc.sharing/trunk/src/zc/sharing/browser/ftesting.zcml
-=-
Modified: zc.sharing/trunk/src/zc/sharing/browser/ftesting.zcml
===================================================================
--- zc.sharing/trunk/src/zc/sharing/browser/ftesting.zcml 2007-02-08 15:22:53 UTC (rev 72456)
+++ zc.sharing/trunk/src/zc/sharing/browser/ftesting.zcml 2007-02-08 15:39:26 UTC (rev 72457)
@@ -2,6 +2,7 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:zc="http://namespaces.zope.com/zc"
+ xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="zope"
package="zc.sharing"
>
@@ -9,7 +10,14 @@
<!-- This file is the equivalent of site.zcml and it is -->
<!-- used for functional testing setup -->
- <include package="zope.app" />
+ <include
+ zcml:condition="installed zope.app.zcmlfiles"
+ package="zope.app.zcmlfiles"
+ />
+ <include
+ zcml:condition="not-installed zope.app.zcmlfiles"
+ package="zope.app"
+ />
<include package="zope.app.authentication" />
<!-- Principals -->
More information about the Checkins
mailing list