l.t.t.t.HasTranslationTemplatesTestMixin : class documentation

Part of lp.translations.tests.test_hastranslationtemplates View In Hierarchy

Known subclasses: lp.translations.tests.test_hastranslationtemplates.TestDistroSeriesHasTranslationTemplates, lp.translations.tests.test_hastranslationtemplates.TestProductSeriesHasTranslationTemplates, lp.translations.tests.test_hastranslationtemplates.TestSourcePackageHasTranslationTemplates

Test behaviour of objects with translation templates.
Method setUp Undocumented
Method createTranslationTemplate Attaches a template to appropriate container.
Method createTranslationFile Attaches a pofile to appropriate container.
Method createPackaging Creates a packaging link for the container.
Method createSharingTranslationTemplate Attaches a template to the sharing partner of the container.
Method test_implements_interface Undocumented
Method test_getCurrentTranslationTemplates Undocumented
Method test_getCurrentTranslationTemplates_ids Undocumented
Method test_getCurrentTranslationFiles_empty Undocumented
Method test_getCurrentTranslationFiles_current Undocumented
Method test_getCurrentTranslationFiles_ids Undocumented
Method test_has_current_translation_templates__no_template Undocumented
Method test_has_current_translation_templates__current_template Undocumented
Method test_has_current_translation_templates__noncurrent_template Undocumented
Method test_has_current_translation_templates__two_templates Undocumented
Method test_has_obsolete_translation_templates__no_templates Undocumented
Method test_has_obsolete_translation_templates__current_template Undocumented
Method test_has_obsolete_translation_templates__noncurrent_template Undocumented
Method test_has_obsolete_translation_templates__two_templates Undocumented
Method test_has_sharing_translation_templates__no_link Undocumented
Method test_has_sharing_translation_templates__no_templates Undocumented
Method test_has_sharing_translation_templates__templates Undocumented
Method test_has_translation_files Undocumented
Method test_getTranslationTemplateByName Undocumented
Method test_getTranslationTemplateFormats Undocumented
def setUp(self):
Undocumented
def createTranslationTemplate(self, name=None, priority=0):
Attaches a template to appropriate container.
def createTranslationFile(self, name=None, priority=0):
Attaches a pofile to appropriate container.
def createPackaging(self):
Creates a packaging link for the container.
def createSharingTranslationTemplate(self):
Attaches a template to the sharing partner of the container.
def test_implements_interface(self):
Undocumented
def test_getCurrentTranslationTemplates(self):
Undocumented
def test_getCurrentTranslationTemplates_ids(self):
Undocumented
def test_getCurrentTranslationFiles_empty(self):
Undocumented
def test_getCurrentTranslationFiles_current(self):
Undocumented
def test_getCurrentTranslationFiles_ids(self):
Undocumented
def test_has_current_translation_templates__no_template(self):
Undocumented
def test_has_current_translation_templates__current_template(self):
Undocumented
def test_has_current_translation_templates__noncurrent_template(self):
Undocumented
def test_has_current_translation_templates__two_templates(self):
Undocumented
def test_has_obsolete_translation_templates__no_templates(self):
Undocumented
def test_has_obsolete_translation_templates__current_template(self):
Undocumented
def test_has_obsolete_translation_templates__noncurrent_template(self):
Undocumented
def test_has_obsolete_translation_templates__two_templates(self):
Undocumented
def test_has_sharing_translation_templates__no_link(self):
Undocumented
def test_has_sharing_translation_templates__no_templates(self):
Undocumented
def test_has_sharing_translation_templates__templates(self):
Undocumented
def test_has_translation_files(self):
Undocumented
def test_getTranslationTemplateByName(self):
Undocumented
def test_getTranslationTemplateFormats(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.