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

Gary Poster gary at zope.com
Thu Feb 8 10:46:48 EST 2007


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

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

-=-
Modified: zc.comment/trunk/src/zc/comment/test.zcml
===================================================================
--- zc.comment/trunk/src/zc/comment/test.zcml	2007-02-08 15:46:15 UTC (rev 72460)
+++ zc.comment/trunk/src/zc/comment/test.zcml	2007-02-08 15:46:47 UTC (rev 72461)
@@ -1,10 +1,18 @@
 <configure xmlns="http://namespaces.zope.org/zope"
            xmlns:browser="http://namespaces.zope.org/browser"
+           xmlns:zcml="http://namespaces.zope.org/zcml"
            package="zc.comment"
            i18n_domain="zc.comment"
            >
 
-<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"
+      />
 
 <!-- uncomment to run interactively and use the test recorder
 <include package="zope.app.server" />



More information about the Checkins mailing list