[Zope-CVS] SVN: zversioning/trunk/src/versioning/tests/repository_setup.py - added to provide forgotten IPhysicallyLocatable adapter

Grégoire Weber zope.org at incept.ch
Sun Oct 10 06:53:47 EDT 2004


Log message for revision 27884:
  - added to provide forgotten IPhysicallyLocatable adapter


Changed:
  U   zversioning/trunk/src/versioning/tests/repository_setup.py


-=-
Modified: zversioning/trunk/src/versioning/tests/repository_setup.py
===================================================================
--- zversioning/trunk/src/versioning/tests/repository_setup.py	2004-10-10 10:28:52 UTC (rev 27883)
+++ zversioning/trunk/src/versioning/tests/repository_setup.py	2004-10-10 10:53:47 UTC (rev 27884)
@@ -14,8 +14,19 @@
     from zope.app.tests import ztapi
     ztapi.provideAdapter(zope.app.annotation.interfaces.IAttributeAnnotatable,
                          zope.app.annotation.interfaces.IAnnotations,
-                         zope.app.annotation.attribute.AttributeAnnotations)
-    
+                         zope.app.annotation.attribute.AttributeAnnotations,
+    ztapi.provideAdapter(zope.app.traversing.interfaces.IPhysicallyLocatable,
+                         zope.app.location.interfaces.ILocation,
+                         zope.app.location.traversing.LocationPhysicallyLocatable)
+
+  <adapter 
+      for="zope.app.location.interfaces.ILocation"
+      provides="zope.app.traversing.interfaces.IPhysicallyLocatable"
+      factory="zope.app.location.traversing.LocationPhysicallyLocatable" 
+      />
+
+
+
     # Now we need to create a database with an instance of our sample object 
     # to work with:
     



More information about the Zope-CVS mailing list