diff --git a/src/plone/api/tests/test_content.py b/src/plone/api/tests/test_content.py index 48dd6d40..854d5507 100644 --- a/src/plone/api/tests/test_content.py +++ b/src/plone/api/tests/test_content.py @@ -390,6 +390,7 @@ def test_create_with_not_lowercase_id(self): def test_create_anonymous_unauthorized(self): from AccessControl import Unauthorized from plone.app.testing import logout + logout() with self.assertRaises(Unauthorized): obj = api.content.create(