Skip to content

Commit

Permalink
remove dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Jul 22, 2024
1 parent 104a17a commit 1ab4a5b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion src/iosanita/policy/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<version>1000</version>
<dependencies>
<!--<dependency>profile-plone.app.dexterity:default</dependency>-->
<dependency>profile-redturtle.volto:default</dependency>
<dependency>profile-iosanita.contenttypes:default</dependency>
<dependency>profile-collective.volto.enhancedlinks:default</dependency>
<dependency>profile-collective.feedback:default</dependency>
Expand Down
10 changes: 4 additions & 6 deletions src/iosanita/policy/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,28 @@
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,
context=configurationContext,
)

def setUpPloneSite(self, portal):
super().setUpPloneSite(portal)
applyProfile(portal, "plone.app.caching:default")
applyProfile(portal, "iosanita.policy:default")


Expand Down

0 comments on commit 1ab4a5b

Please sign in to comment.