l.a.tests : package documentation

Part of lp.archiveuploader

Tests for the archive uploader.
Module test_buildduploads Test buildd uploads use-cases.
Module test_buildinfofile Build information file tests.
Module test_changesfile Test ChangesFile functionality.
Module test_dscfile Test dscfile.py
Module test_livefsupload Test uploads of LiveFSBuilds.
Module test_nascentupload Test NascentUpload functionality.
Module test_nascentupload_documentation Runs the doctests for archiveuploader module.
Module test_nascentuploadfile Test NascentUploadFile functionality.
Module test_ppauploadprocessor Functional tests for uploadprocessor.py.
Module test_private_maintainers Undocumented
Module test_processupload No module docstring; 1/1 classes documented
Module test_recipeuploads Test uploads of SourcePackageRecipeBuilds.
Module test_snapupload Test uploads of SnapBuilds.
Module test_sync_notification Test notification behaviour for cross-distro package syncs.
Module test_tagfiles Undocumented
Module test_uploadpolicy No module docstring; 1/5 classes, 0/2 functions documented
Module test_uploadprocessor Functional tests for uploadprocessor.py.
Module test_utils No module docstring; 1/3 classes documented

From the __init__.py module:

Class AbsolutelyAnythingGoesUploadPolicy This policy is invoked when processing uploads from the test process.
Class AnythingGoesUploadPolicy This policy is invoked when processing uploads from the test process.
Class MockUploadOptions Mock upload policy options helper
Function datadir Return fully-qualified path inside the test data directory.
Function getPolicy Build and return an Upload Policy for the given context.
Function insertFakeChangesFile Insert a fake changes file into the librarian.
Function insertFakeChangesFileForAllPackageUploads Ensure all the PackageUpload records point to a valid changes file.
Function register_archive_upload_policy_adapters Undocumented
def datadir(path):
Return fully-qualified path inside the test data directory.
def insertFakeChangesFile(fileID, path=None):
Insert a fake changes file into the librarian.
ParametersfileIDUse this as the librarian's file ID.
pathIf specified, use the changes file at "path", otherwise the changes file for ed-0.2-21 is used.
def insertFakeChangesFileForAllPackageUploads():
Ensure all the PackageUpload records point to a valid changes file.
def getPolicy(name='anything', distro='ubuntu', distroseries=None):
Build and return an Upload Policy for the given context.
def register_archive_upload_policy_adapters():
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.