plone / plone.recipe.zope2instance

zc.buildout recipe to setup and configure a Zope 2 instance.
https://pypi.org/project/plone.recipe.zope2instance
6 stars 23 forks source link

Deprecation Warning: makerequest #122

Closed dhavlik closed 4 years ago

dhavlik commented 5 years ago

makerequest should be imported from Testing.makerequest instead of Testing.ZopeTestCase.utils.makerequest. Doing the latter also has a side effect: ZOPETESTCASE environment Variable is set to "1" whenever you import something from Testing.ZopeTestCase. makerequest is also useful outside of test stuff.

dataflake commented 4 years ago

@icemac This appears done. The only reference I could find imports from the right place.

icemac commented 4 years ago

@dataflake The fix for this issue already seems to be in 6.4.0. Thank you for looking into this issue.