Skip to content

Commit

Permalink
install new dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Apr 10, 2024
1 parent 11bfc1c commit a9bb8f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/redturtle/volto/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from plone.testing import z2

import collective.volto.gdprcookie
import collective.volto.sitesettings
import kitconcept.seo
import plone.app.caching
import plone.restapi
Expand All @@ -24,6 +25,7 @@ def setUpZope(self, app, configurationContext):
# The z3c.autoinclude feature is disabled in the Plone fixture base
# layer.
self.loadZCML(package=collective.volto.gdprcookie)
self.loadZCML(package=collective.volto.sitesettings)
self.loadZCML(package=plone.restapi)
self.loadZCML(package=redturtle.volto)
self.loadZCML(package=plone.volto)
Expand Down Expand Up @@ -67,6 +69,7 @@ def setUpZope(self, app, configurationContext):
super(RedturtleVoltoRestApiLayer, self).setUpZope(app, configurationContext)

self.loadZCML(package=collective.volto.gdprcookie)
self.loadZCML(package=collective.volto.sitesettings)
self.loadZCML(package=plone.restapi)
self.loadZCML(package=plone.volto)
self.loadZCML(package=redturtle.volto)
Expand Down
5 changes: 1 addition & 4 deletions src/redturtle/volto/upgrades.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
from uuid import uuid4
from zope.schema import getFields

<<<<<<< Updated upstream

=======
>>>>>>> Stashed changes
try:
from plone.base.utils import get_installer
except Exception:
Expand Down Expand Up @@ -512,6 +508,7 @@ def to_4305(context):
if not installer.is_product_installed("collective.volto.gdprcookie"):
installer.install_(product_id="collective.volto.gdprcookie")


def to_4306(context):
portal = api.portal.get()
installer = get_installer(portal, portal.REQUEST)
Expand Down

0 comments on commit a9bb8f3

Please sign in to comment.