Part of lp.translations.tests.test_setcurrenttranslation View In Hierarchy
Known subclasses: lp.translations.tests.test_setcurrenttranslation.TestSetCurrentTranslation_Ubuntu, lp.translations.tests.test_setcurrenttranslation.TestSetCurrentTranslation_Upstream
POTMsgSet.setCurrentTranslation
.
Depending on the setUp implementation available, this can test either from the perspective of translating an Ubuntu template or from the perspective of translating an upstream template.
pofile
context.It passes all the same parameters we use throughout the tests, including self.potmsgset, self.pofile, self.pofile.owner and origin.
Assert that 'important' translations match passed-in values.
current: represents a current shared translation for this context.
diverged: represents a diverged translation for this context.
other_shared: represents a shared translation for "other" context.
contexts.