l.t.t.t.TraitsScenario : class documentation

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

Known subclasses: lp.translations.tests.test_side.UbuntuTranslationSideTraitsTest, lp.translations.tests.test_side.UpstreamTranslationSideTraitsTest

Tests that can be run on either the upstream or the Ubuntu side.
Method test_getFlag_and_setFlag Undocumented
Method test_getCurrentMessage Undocumented
Method test_getCurrentMessage_ignores_other_flag Undocumented
Method _makeTemplate Create a template for the side being tested.
Method _makeTemplateAndTranslationMessage Create a POTemplate with a TranslationMessage.
Method _getTraits Shortcut: get TranslationSideTraits for template.
def _makeTemplate(self):
Create a template for the side being tested.
def _makeTemplateAndTranslationMessage(self):
Create a POTemplate with a TranslationMessage.

Creates a POFile and POTMsgSet along the way.

The TranslationMessage will not be current.

def _getTraits(self, template):
Shortcut: get TranslationSideTraits for template.
def test_getFlag_and_setFlag(self):
Undocumented
def test_getCurrentMessage(self):
Undocumented
def test_getCurrentMessage_ignores_other_flag(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.