plone / plone.app.testing

Testing tools for Plone-the-application
http://pypi.python.org/pypi/plone.app.testing
2 stars 7 forks source link

MockMailHostLayer is outdated #61

Closed ale-rt closed 4 years ago

ale-rt commented 4 years ago

In this lines https://github.com/plone/plone.app.testing/blob/61933b7962dcc257c50c4fc23f323f33e0003caa/src/plone/app/testing/layers.py#L388-L392 a site setup that is no longer operational since quite a lot of time is used. Nowadays we should use the registry.

ale-rt commented 4 years ago

Note: see a possible fix in https://github.com/plone/plone.app.testing/blob/d2ea19bc3948b3c41bd96797a7b8c31b99c37190/src/plone/app/testing/layers.py#L388-L393, although the smtp_host is still configured in the old way.