l.t.t.t.ScenarioMixin : class documentation

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

Known subclasses: lp.translations.tests.test_clearcurrenttranslation.TestClearCurrentTranslationUbuntu, lp.translations.tests.test_clearcurrenttranslation.TestClearCurrentTranslationUpstream

No class docstring
Method makePOTemplate Create a POTemplate for the side that's being tested.
Method makeOtherPOTemplate Create a POTemplate for the other side.
Method makeUpstreamTemplate Create a POTemplate for a project.
Method makeUbuntuTemplate Create a POTemplate for an Ubuntu package.
Method test_creates_empty_message Undocumented
Method test_deactivates_shared_message Undocumented
Method test_deactivates_diverged_message Undocumented
Method test_hides_unmasked_shared_message Undocumented
Method test_ignores_other_message Undocumented
Method test_deactivates_one_side Undocumented
Method test_deactivates_both_sides Undocumented
Method test_converges_with_empty_shared_message Undocumented
Method test_reviews_new_blank Undocumented
Method test_reviews_existing_blank Undocumented
Method test_detects_conflict Undocumented
Method _makePOFile Create a POFile for the given template.
Method _makeTranslationMessage Create a (non-current) TranslationMessage for potmsgset.
def makePOTemplate(self):
Create a POTemplate for the side that's being tested.
def makeOtherPOTemplate(self):
Create a POTemplate for the other side.
def makeUpstreamTemplate(self):
Create a POTemplate for a project.
def makeUbuntuTemplate(self):
Create a POTemplate for an Ubuntu package.
def _makePOFile(self, potemplate=None):
Create a POFile for the given template.

Also creates a POTemplate if none is given, using self.makePOTemplate.

def _makeTranslationMessage(self, potmsgset, pofile, translations=None, diverged=False):
Create a (non-current) TranslationMessage for potmsgset.
def test_creates_empty_message(self):
Undocumented
def test_deactivates_shared_message(self):
Undocumented
def test_deactivates_diverged_message(self):
Undocumented
def test_hides_unmasked_shared_message(self):
Undocumented
def test_ignores_other_message(self):
Undocumented
def test_deactivates_one_side(self):
Undocumented
def test_deactivates_both_sides(self):
Undocumented
def test_converges_with_empty_shared_message(self):
Undocumented
def test_reviews_new_blank(self):
Undocumented
def test_reviews_existing_blank(self):
Undocumented
def test_detects_conflict(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-08-18 00:00:05.