l.s.s.t.t.UpdateTranslationStatsTest(unittest.TestCase) : class documentation

Part of lp.services.statistics.tests.test_update_stats View In Hierarchy

Test exceptional update-stats.py rules.
Method setUp Setup the Distroseries related objects for these tests.
Method tearDown Tear down this test and recycle the database.
Method test_disabled_template Test that Distroseries stats do not include disabled templates.
Method test_english Test that English is handled correctly by DistroSeries.
def setUp(self):
Setup the Distroseries related objects for these tests.
def tearDown(self):
Tear down this test and recycle the database.
def test_disabled_template(self):
Test that Distroseries stats do not include disabled templates.
def test_english(self):
Test that English is handled correctly by DistroSeries.

English exists in the POFile data, but it cannot be used by Launchpad since the messages that are to be translated are stored as English. A DistroSeriesLanguage can never be English since it represents a translation.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.