Commit 4efadad0 authored by Aurel's avatar Aurel

no longer needed after patching of Zope

parent aae12077
......@@ -86,10 +86,7 @@ class ERP5TypeLiveTestCase(ERP5TypeTestCaseMixin):
site = getSite()
# reconstruct the acquistion chain with an independant request.
# 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())
# Make the various get_request patches return this request.
......
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