Skip to content

Commit

Permalink
Drop zope.app.intid dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Oct 1, 2018
1 parent 205ff83 commit 4219665
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ New features:

Bug fixes:

- *add item here*

- Remove (testing) dependency on zope.app.intid.
[gforcada]

1.3.4 (2018-09-25)
------------------
Expand Down
9 changes: 1 addition & 8 deletions plone/app/versioningbehavior/tests/test_modifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
from z3c.relationfield.schema import RelationChoice
from z3c.relationfield.schema import RelationList
from ZODB.interfaces import IBlob
from zope.app.intid.interfaces import IIntIds
from zope.component import getUtility
from zope.configuration import xmlconfig
from zope.interface import alsoProvides
from zope.interface import Interface
from zope.intid.interfaces import IIntIds

import unittest

Expand Down Expand Up @@ -210,10 +210,6 @@ def testRelations(self):
)
self.portal.portal_types._setObject('RelationsType', rel_fti)

# Setup IIntIds utility which is required for relations to work
from five.intid import site
from zope.app.intid.interfaces import IIntIds
site.add_intids(self.portal)
intids = getUtility(IIntIds)

source = createContentInContainer(self.portal, 'RelationsType')
Expand Down Expand Up @@ -284,9 +280,6 @@ def register_RelationsType(self):
)
self.portal.portal_types._setObject('RelationsType', rel_fti)

# Setup IIntIds utility which is required for relations to work
site.add_intids(self.portal)

def testRelationsInBehaviors(self):
self.register_RelationsType()
intids = getUtility(IIntIds)
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
'plone.app.dexterity',
'plone.app.testing',
'plone.namedfile[blobs]',
'zope.app.intid',
]

setup(
Expand Down

0 comments on commit 4219665

Please sign in to comment.