diff --git a/src/plone/api/relation.py b/src/plone/api/relation.py index 60df78ef..5540d4ca 100644 --- a/src/plone/api/relation.py +++ b/src/plone/api/relation.py @@ -2,6 +2,7 @@ Heavily inspired by collective.relationhelpers. """ + from AccessControl.SecurityManagement import getSecurityManager from collections import defaultdict from plone.api.exc import InvalidParameterError diff --git a/src/plone/api/tests/test_content.py b/src/plone/api/tests/test_content.py index bea68c10..637b1c64 100644 --- a/src/plone/api/tests/test_content.py +++ b/src/plone/api/tests/test_content.py @@ -1,4 +1,5 @@ """Tests for plone.api.content.""" + from Acquisition import aq_base from OFS.CopySupport import CopyError from OFS.event import ObjectWillBeMovedEvent