From 028bc85b7934a7e1b73e3217ce4da32d7e98b2c1 Mon Sep 17 00:00:00 2001 From: Roman <72063601+folix-01@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:41:31 +0200 Subject: [PATCH] Update testing.py --- src/design/plone/ioprenoto/testing.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/design/plone/ioprenoto/testing.py b/src/design/plone/ioprenoto/testing.py index 22fd188..b8665e1 100644 --- a/src/design/plone/ioprenoto/testing.py +++ b/src/design/plone/ioprenoto/testing.py @@ -20,12 +20,15 @@ class DesignPloneIoprenotoLayer(DesignPlonePolicyLayer): def setUpZope(self, app, configurationContext): + import collective.volto.otp + super().setUpZope(app, configurationContext) self.loadZCML(package=design.plone.policy) self.loadZCML(package=redturtle.prenotazioni) self.loadZCML(package=collective.contentrules.mailfromfield) self.loadZCML(package=design.plone.ioprenoto) + self.loadZCML(package=collective.volto.otp) if iocittadino_installed: self.loadZCML(package=design.plone.iocittadino)