[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/homefolder/ Bugfix,

Roger Ineichen roger at projekt01.ch
Wed Feb 8 10:45:34 EST 2006


Log message for revision 41580:
  Bugfix, 
  Added missing classImplements for File / IAttributeAnnotatable
  Note: there is no tear down for that.
  
  Changed svn:props
  Added svn:eol-style: native
  Added svn:keywords: Id

Changed:
  _U  Zope3/trunk/src/zope/app/homefolder/README.txt
  _U  Zope3/trunk/src/zope/app/homefolder/__init__.py
  _U  Zope3/trunk/src/zope/app/homefolder/browser.py
  _U  Zope3/trunk/src/zope/app/homefolder/configure.zcml
  _U  Zope3/trunk/src/zope/app/homefolder/homefolder.pt
  _U  Zope3/trunk/src/zope/app/homefolder/homefolder.py
  _U  Zope3/trunk/src/zope/app/homefolder/interfaces.py
  UU  Zope3/trunk/src/zope/app/homefolder/tests.py

-=-

Property changes on: Zope3/trunk/src/zope/app/homefolder/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native


Property changes on: Zope3/trunk/src/zope/app/homefolder/__init__.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native


Property changes on: Zope3/trunk/src/zope/app/homefolder/browser.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native


Property changes on: Zope3/trunk/src/zope/app/homefolder/configure.zcml
___________________________________________________________________
Name: svn:eol-style
   + native


Property changes on: Zope3/trunk/src/zope/app/homefolder/homefolder.pt
___________________________________________________________________
Name: svn:eol-style
   + native


Property changes on: Zope3/trunk/src/zope/app/homefolder/homefolder.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native


Property changes on: Zope3/trunk/src/zope/app/homefolder/interfaces.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Modified: Zope3/trunk/src/zope/app/homefolder/tests.py
===================================================================
--- Zope3/trunk/src/zope/app/homefolder/tests.py	2006-02-08 15:45:05 UTC (rev 41579)
+++ Zope3/trunk/src/zope/app/homefolder/tests.py	2006-02-08 15:45:34 UTC (rev 41580)
@@ -13,16 +13,19 @@
 ##############################################################################
 """Homefolder Tests
 
-$Id: tests.py 28311 2004-11-01 19:03:56Z jim $
+$Id$
 """
 __docformat__ = "reStructuredText"
 
 import unittest
+from zope.interface import classImplements
 from zope.security.interfaces import IPrincipal
 from zope.testing import doctest
 from zope.app.testing import placelesssetup, setup, ztapi
 
 from zope.app.annotation.interfaces import IAnnotatable
+from zope.app.annotation.interfaces import IAttributeAnnotatable
+from zope.app.file import File
 from zope.app.securitypolicy.interfaces import IPrincipalRoleManager
 from zope.app.securitypolicy.principalrole import AnnotationPrincipalRoleManager
 from zope.app.traversing.interfaces import IPathAdapter 
@@ -36,6 +39,7 @@
     setup.setUpAnnotations()
     setup.setUpTraversal()
 
+    classImplements(File, IAttributeAnnotatable)
     ztapi.provideAdapter(IAnnotatable, IPrincipalRoleManager,
                          AnnotationPrincipalRoleManager)
     ztapi.provideAdapter(IPrincipal, IHomeFolder,


Property changes on: Zope3/trunk/src/zope/app/homefolder/tests.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native



More information about the Zope3-Checkins mailing list