Part of lp.testing.browser View In Hierarchy
Method | __init__ | Undocumented |
Method | close | Yay! Zope browsers don't have a close() method. |
Method | vhost | Undocumented |
Method | rooturl | Undocumented |
Method | urlpath | Undocumented |
Method | _refclose | For weak reference cleanup. |
Method | _changed | Ensure the current transaction is committed. |
Method | _clickSubmit | Undocumented |
Because this browser is used in the AppServerLayer where it talks real-HTTP to a child process, we need to ensure that the parent process also gets its current transaction in sync with the child's changes. The easiest way to do that is to just commit the current transaction.