l.t.menu : module documentation

Part of lp.testing

Helpers for testing menus.
Function check_menu_links Undocumented
Function summarise_tal_links List the links and their attributes in the dict or list.
Function make_fake_request Return a fake request object for menu testing.
def check_menu_links(menu):
Undocumented
def summarise_tal_links(links):
List the links and their attributes in the dict or list.
ParameterslinksA dictionary or list of menu links returned by lp.app.browser.tales.MenuAPI.
def make_fake_request(url, traversed_objects=None):
Return a fake request object for menu testing.
Parameterstraversed_objectsA list of objects that becomes the request's traversed_objects attribute.
API Documentation for Launchpad, generated by pydoctor at 2018-08-14 00:00:04.