l.t.s.t.test_reupload_translations : module documentation

Part of lp.translations.scripts.tests

Test reupload_translations and ReuploadPackageTranslations.
Class UploadInjector Mockup for SourcePackage.getLatestTranslationsUploads.
Function upload_tarball Create a tarball and upload it to the Librarian.
Function summarize_translations_queue Describe queue entries for sourcepackage as a name/contents dict.
Function filter_paths Apply _filter_ubuntu_translation_file to each file in files_dict.
Class TestReuploadPackageTranslations Test ReuploadPackageTranslations.
Class TestReuploadScript Test reupload-translations script.
def upload_tarball(translation_files):
Create a tarball and upload it to the Librarian.
Parameterstranslation_filesA dict mapping filenames to file contents.
ReturnsA LibraryFileAlias.
def summarize_translations_queue(sourcepackage):
Describe queue entries for sourcepackage as a name/contents dict.
def filter_paths(files_dict):
Apply _filter_ubuntu_translation_file to each file in files_dict.
Parametersfiles_dictA dict mapping translation file names to their contents.
ReturnsA similar dict, but with _filter_ubuntu_translation_file applied to each file's path, and non-Ubuntu files left out.
API Documentation for Launchpad, generated by pydoctor at 2018-02-25 00:00:04.