Commit 4efadad0 authored by Aurel's avatar Aurel

no longer needed after patching of Zope

parent aae12077
...@@ -86,9 +86,6 @@ class ERP5TypeLiveTestCase(ERP5TypeTestCaseMixin): ...@@ -86,9 +86,6 @@ class ERP5TypeLiveTestCase(ERP5TypeTestCaseMixin):
site = getSite() site = getSite()
# reconstruct the acquistion chain with an independant request. # reconstruct the acquistion chain with an independant request.
# RequestContainer -> Application -> Site # RequestContainer -> Application -> Site
try:
from ZServer.Testing.utils import makerequest
except ImportError: # BBB Zope2
from Testing.ZopeTestCase.utils import makerequest from Testing.ZopeTestCase.utils import makerequest
portal = getattr(makerequest(site.aq_parent), site.getId()) portal = getattr(makerequest(site.aq_parent), site.getId())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment