l.t.b.t.test_translationlinksaggregator : module documentation

Part of lp.translations.browser.tests

No module docstring
Class DumbAggregator A very simple TranslationLinksAggregator.
Function map_link Map a link the way _circumscribe does.
Class TestTranslationLinksAggregator Test TranslationLinksAggregator.
def map_link(link_target, sheets=None, add_to=None):
Map a link the way _circumscribe does.
Parameterslink_targetThe object to link to. Its URL will be used.
sheetsA list of POFiles and/or POTemplates. The link will map to these. If omitted, the list will consist of link_target itself.
add_toOptional existing dict to add the new entry to.
ReturnsA dict mapping the URL for link_target to sheets.
API Documentation for Launchpad, generated by pydoctor at 2018-05-25 00:00:05.