From 1ab4a5bbae9c429f6055f9fe810d7395f4ebfe54 Mon Sep 17 00:00:00 2001 From: Andrea Cecchi Date: Mon, 22 Jul 2024 13:29:48 +0200 Subject: [PATCH] remove dependency --- setup.py | 3 --- src/iosanita/policy/profiles/default/metadata.xml | 1 - src/iosanita/policy/testing.py | 10 ++++------ 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/setup.py b/setup.py index 68ad4f4..04c7741 100644 --- a/setup.py +++ b/setup.py @@ -54,10 +54,7 @@ install_requires=[ "setuptools", # -*- Extra requirements: -*- - "z3c.jbot", "plone.api>=1.8.4", - "plone.app.dexterity", - "redturtle.volto", "iosanita.contenttypes", "collective.volto.enhancedlinks", "collective.feedback", diff --git a/src/iosanita/policy/profiles/default/metadata.xml b/src/iosanita/policy/profiles/default/metadata.xml index 035bef3..31dff2d 100644 --- a/src/iosanita/policy/profiles/default/metadata.xml +++ b/src/iosanita/policy/profiles/default/metadata.xml @@ -3,7 +3,6 @@ 1000 - profile-redturtle.volto:default profile-iosanita.contenttypes:default profile-collective.volto.enhancedlinks:default profile-collective.feedback:default diff --git a/src/iosanita/policy/testing.py b/src/iosanita/policy/testing.py index 571b7a1..538f358 100644 --- a/src/iosanita/policy/testing.py +++ b/src/iosanita/policy/testing.py @@ -10,22 +10,20 @@ import collective.volto.enhancedlinks import iosanita.contenttypes import iosanita.policy -import redturtle.volto import souper.plone +import plone.app.caching class TestLayer(ContentTypesTestLayer): def setUpZope(self, app, configurationContext): super().setUpZope(app, configurationContext) - - self.loadZCML(package=redturtle.volto) + self.loadZCML(package=plone.app.caching) self.loadZCML(package=iosanita.contenttypes) self.loadZCML(package=collective.volto.enhancedlinks) self.loadZCML(package=collective.feedback) self.loadZCML(package=souper.plone) - self.loadZCML(package=iosanita.policy, context=configurationContext) - self.loadZCML(package=collective.taxonomy) + xmlconfig.file( "configure.zcml", iosanita.policy, @@ -33,7 +31,7 @@ def setUpZope(self, app, configurationContext): ) def setUpPloneSite(self, portal): - super().setUpPloneSite(portal) + applyProfile(portal, "plone.app.caching:default") applyProfile(portal, "iosanita.policy:default")