[Checkins] SVN: zc.preview/trunk/src/zc/preview/test.zcml make ftests work and remove deprecation warnings

Gary Poster gary at zope.com
Thu Feb 8 10:40:19 EST 2007


Log message for revision 72458:
  make ftests work and remove deprecation warnings

Changed:
  U   zc.preview/trunk/src/zc/preview/test.zcml

-=-
Modified: zc.preview/trunk/src/zc/preview/test.zcml
===================================================================
--- zc.preview/trunk/src/zc/preview/test.zcml	2007-02-08 15:39:26 UTC (rev 72457)
+++ zc.preview/trunk/src/zc/preview/test.zcml	2007-02-08 15:40:18 UTC (rev 72458)
@@ -1,6 +1,7 @@
 <configure 
     xmlns="http://namespaces.zope.org/zope"
     xmlns:browser="http://namespaces.zope.org/browser"
+    xmlns:zcml="http://namespaces.zope.org/zcml"
     i18n_domain="zc.preview"
     package="zc.preview"
     >
@@ -8,7 +9,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.debugskin" />
   <include package="zope.app.server" />
   <include package="zope.app.authentication" />



More information about the Checkins mailing list