l.t.b.Browser(_Browser) : class documentation

Part of lp.testing.browser View In Hierarchy

A browser subclass that knows about basic auth.
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
def __init__(self, auth=None, mech_browser=None):
Undocumented
def _refclose(self, obj):
For weak reference cleanup.
def close(self):
Yay! Zope browsers don't have a close() method.
def _changed(self):
Ensure the current transaction is committed.

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.

def _clickSubmit(self, form, control, coord):
Undocumented
@property
def vhost(self):
Undocumented
@property
def rooturl(self):
Undocumented
@property
def urlpath(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2018-06-21 00:00:17.