Closed icemac closed 4 years ago
As zope.app.wsgi
has no infrastructure to test the XMLRPC server proxy (zopefoundation/zope.app.wsgi#17 is there because the code is completely untested.) #8 suggests to generalize the code here and remove it from zope.app.wsgi.
The following code lines are mostly identical to
zope.app.wsgi.testlayer
: https://github.com/zopefoundation/zope.app.publisher/blob/5125d8c54bd9aa4883640a66ec212807288b4d72/src/zope/app/publisher/xmlrpc/tests/__init__.py#L28-L92As
zope.app.publisher
already depends onzope.app.wsgi
. The code there could be used here after zopefoundation/zope.app.wsgi#17 is fixed.