Skip to content

Commit

Permalink
Unpin plone.app.linktegrity
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroel committed Oct 17, 2023
1 parent d387d85 commit 8764956
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions src/plone/restapi/tests/test_services_linkintegrity.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 8764956

Please sign in to comment.