Skip to content

Commit

Permalink
Remove dependency to Products.TextIndexNG3 (test layer) (#13)
Browse files Browse the repository at this point in the history
* Remove dependency to Products.TextIndexNG3

* Update CHANGES.rst
  • Loading branch information
xispa authored Jun 21, 2022
1 parent 12cbf6d commit c177d5d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
3 changes: 0 additions & 3 deletions src/senaite/app/supermodel/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,20 @@ 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
import senaite.impress
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)
self.loadZCML(package=senaite.impress)
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")
Expand Down

0 comments on commit c177d5d

Please sign in to comment.