l.t.b.t.t.SeriesTemplatesViewScenario : class documentation

Part of lp.translations.browser.tests.test_seriestemplatesview View In Hierarchy

Known subclasses: lp.translations.browser.tests.test_seriestemplatesview.TestDistroSeriesTemplatesView, lp.translations.browser.tests.test_seriestemplatesview.TestProductSeriesTemplatesView

No class docstring
Method makeTemplateContext Create makePOTemplate arguments to create a series.
Method test_has_the_right_columns Undocumented
Method test_logging_in_adds_actions_column Undocumented
Method test_user_actions Undocumented
Method test_admin_actions Undocumented
Method test_edit_actions Undocumented
Method test_constructs_correct_urls Undocumented
Method test_renderTemplateLink Undocumented
Method test_renderTemplateLink_marks_disabled Undocumented
Method test_renderLastUpdateDate_sets_sortkey Undocumented
Method test_renderAction_returns_empty_string_if_not_enabled Undocumented
Method test_renderAction Undocumented
Method test_renderField_returns_empty_string_if_no_content Undocumented
Method test_renderField_returns_empty_field_for_empty_content Undocumented
Method test_renderField Undocumented
Method test_renderTemplateRow Undocumented
Method _makeTemplate Create a distro- or productseries for the view.
Method _getSeries Get template's distro- or productseries.
Method _makeView Create a BaseTemplatesView containing template.
Method _findTagClasses Find the CSS classes for all instances of tag`s in `html.
Method _findActions Find the available actions in an HTML actions column.
def makeTemplateContext(self):
Create makePOTemplate arguments to create a series.
def _makeTemplate(self, **kwargs):
Create a distro- or productseries for the view.
def _getSeries(self, template):
Get template's distro- or productseries.
def _makeView(self, template=None):
Create a BaseTemplatesView containing template.
def _findTagClasses(self, html, tag):
Find the CSS classes for all instances of tag`s in `html.

Returns a list of lists. The outer list represents instances of tag, in the order in which they are found. The inner lists hold the respective sets of HTML classes for these tags, sorted alphabetically.

def _findActions(self, html):
Find the available actions in an HTML actions column.
def test_has_the_right_columns(self):
Undocumented
def test_logging_in_adds_actions_column(self):
Undocumented
def test_user_actions(self):
Undocumented
def test_admin_actions(self):
Undocumented
def test_edit_actions(self):
Undocumented
def test_constructs_correct_urls(self):
Undocumented
def test_renderTemplateLink(self):
Undocumented
def test_renderTemplateLink_marks_disabled(self):
Undocumented
def test_renderLastUpdateDate_sets_sortkey(self):
Undocumented
def test_renderAction_returns_empty_string_if_not_enabled(self):
Undocumented
def test_renderAction(self):
Undocumented
def test_renderField_returns_empty_string_if_no_content(self):
Undocumented
def test_renderField_returns_empty_field_for_empty_content(self):
Undocumented
def test_renderField(self):
Undocumented
def test_renderTemplateRow(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.