From 87649569b97a4da982520bbffdfa5ba241d9bf5c Mon Sep 17 00:00:00 2001 From: Roel Bruggink Date: Tue, 17 Oct 2023 14:41:45 +0200 Subject: [PATCH] Unpin plone.app.linktegrity --- base.cfg | 1 + src/plone/restapi/tests/test_services_linkintegrity.py | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/base.cfg b/base.cfg index a1b05f41b7..d5f7425113 100644 --- a/base.cfg +++ b/base.cfg @@ -32,6 +32,7 @@ allow-hosts = [versions] # Do not use a release of plone.restapi: plone.restapi = +plone.app.linkintegrity = [instance] recipe = plone.recipe.zope2instance diff --git a/src/plone/restapi/tests/test_services_linkintegrity.py b/src/plone/restapi/tests/test_services_linkintegrity.py index 83393ce5e3..9492796eb5 100644 --- a/src/plone/restapi/tests/test_services_linkintegrity.py +++ b/src/plone/restapi/tests/test_services_linkintegrity.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -from pkg_resources import get_distribution from plone.app.testing import setRoles from plone.app.testing import SITE_OWNER_NAME from plone.app.testing import SITE_OWNER_PASSWORD @@ -19,8 +18,6 @@ import transaction import unittest -linkintegrity_version = get_distribution("plone.app.linkintegrity").version - class TestLinkIntegrity(unittest.TestCase): layer = PLONE_RESTAPI_BLOCKS_FUNCTIONAL_TESTING @@ -213,10 +210,6 @@ def test_return_items_total_in_subfolders(self): self.assertEqual(result[0]["breaches"], []) self.assertEqual(result[0]["items_total"], 1) - @unittest.skipUnless( - linkintegrity_version > "4.0.2", - "Remove this skipUnless after release of p.a.linkintegrity.", - ) def test_tree_breaches_no_duplicates(self): # /target_parent/target_child target_parent = createContentInContainer(