4teamwork / ftw.testbrowser

A testing browser for Plone.
http://ftwtestbrowser.readthedocs.io/
5 stars 1 forks source link

Fix context manager / reset behavior. #68

Closed jone closed 7 years ago

jone commented 7 years ago

Fix reset when used within the context manager: it should not reset the context manager. In order to detect if we are in a context manager, an internal context manager flag is added. In order for the flag to work correctly, nested context managers must be disallowed.

Closes #16