From c177d5d6e0a2985420bbe197ab2bdfe60388cd9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Puiggen=C3=A9?= Date: Tue, 21 Jun 2022 12:54:50 +0200 Subject: [PATCH] Remove dependency to Products.TextIndexNG3 (test layer) (#13) * Remove dependency to Products.TextIndexNG3 * Update CHANGES.rst --- CHANGES.rst | 2 +- src/senaite/app/supermodel/tests/base.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 6c78e64..e682c12 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,7 @@ 2.3.0 (unreleased) ------------------ -- no changes yet +- #13 Remove dependency to Products.TextIndexNG3 (test layer) 2.2.0 (2022-06-10) diff --git a/src/senaite/app/supermodel/tests/base.py b/src/senaite/app/supermodel/tests/base.py index 789f20d..ec92df0 100644 --- a/src/senaite/app/supermodel/tests/base.py +++ b/src/senaite/app/supermodel/tests/base.py @@ -37,7 +37,6 @@ class SimpleTestLayer(PloneSandboxLayer): def setUpZope(self, app, configurationContext): super(SimpleTestLayer, self).setUpZope(app, configurationContext) - import Products.TextIndexNG3 import bika.lims import senaite.core import senaite.app.listing @@ -45,7 +44,6 @@ def setUpZope(self, app, configurationContext): import senaite.app.spotlight # Load ZCML - self.loadZCML(package=Products.TextIndexNG3) self.loadZCML(package=bika.lims) self.loadZCML(package=senaite.core) self.loadZCML(package=senaite.app.listing) @@ -53,7 +51,6 @@ def setUpZope(self, app, configurationContext): self.loadZCML(package=senaite.app.spotlight) # Install product and call its initialize() function - zope.installProduct(app, "Products.TextIndexNG3") zope.installProduct(app, "bika.lims") zope.installProduct(app, "senaite.core") zope.installProduct(app, "senaite.app.listing")