l.t.u.t.t.XPIPOExporterTestCase(unittest.TestCase) : class documentation

Part of lp.translations.utilities.tests.test_xpi_po_exporter View In Hierarchy

Class test for gettext's .po file exports
Method setUp Undocumented
Method setUpTranslationImportQueueForTemplate Return an ITranslationImportQueueEntry for testing purposes.
Method test_Interface Check whether the object follows the interface.
Method test_XPITemplateExport Check a standard export from an XPI file.
Method _compareExpectedAndExported Compare an export with a previous export that is correct.
def setUp(self):
Undocumented
def _compareExpectedAndExported(self, expected_file, exported_file):
Compare an export with a previous export that is correct.
Parametersexpected_filebuffer with the expected file content.
export_filebuffer with the output file content.
def setUpTranslationImportQueueForTemplate(self):
Return an ITranslationImportQueueEntry for testing purposes.
def test_Interface(self):
Check whether the object follows the interface.
def test_XPITemplateExport(self):
Check a standard export from an XPI file.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.