Skip to content

Commit

Permalink
Deactivted all BBB to ensure that we use only the latest code in zope…
Browse files Browse the repository at this point in the history
….app

Made almost all tests pass again, except the few that heavily depended on
the old way of doing things: apidoc, module, presentation
  • Loading branch information
strichter committed Jan 9, 2005
1 parent 8c7155c commit edf2262
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from zope.app.container.contained import Contained
from zope.app.location import Location
from zope.app.principalannotation.interfaces import IPrincipalAnnotationUtility
from zope.app.utility.utility import queryNextUtility
from zope.app.component import queryNextUtility

class PrincipalAnnotationUtility(Persistent, Contained):
"""Stores `IAnnotations` for `IPrinicipals`.
Expand Down
7 changes: 2 additions & 5 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@
from zope.app.principalannotation import PrincipalAnnotationUtility
from zope.app.principalannotation import AnnotationsForPrincipal
from zope.app.security.interfaces import IPrincipal
from zope.app.site.tests.placefulsetup import PlacefulSetup
from zope.app.tests import setup
from zope.app.tests import ztapi
from zope.app.utility.utility import LocalUtilityService
from zope.app.component.testing import PlacefulSetup
from zope.app.testing import ztapi, setup
from interfaces import IPrincipalAnnotationUtility

class Principal(object):
Expand Down Expand Up @@ -63,7 +61,6 @@ def testGetSimple(self):
def testGetFromLayered(self):
princeSomebody = Principal('somebody')
sm1 = self.makeSite('folder1')
setup.addService(sm1, 'Utilities', LocalUtilityService())
subUtil = setup.addUtility(sm1, '', IPrincipalAnnotationUtility,
PrincipalAnnotationUtility())

Expand Down

0 comments on commit edf2262

Please sign in to comment.