l.a.t.__init__ : module documentation

Part of lp.archiveuploader.tests

Tests for the archive uploader.
Function datadir Return fully-qualified path inside the test data directory.
Function insertFakeChangesFile Insert a fake changes file into the librarian.
Function insertFakeChangesFileForAllPackageUploads Ensure all the PackageUpload records point to a valid changes file.
Class MockUploadOptions Mock upload policy options helper
Function getPolicy Build and return an Upload Policy for the given context.
Class AnythingGoesUploadPolicy This policy is invoked when processing uploads from the test process.
Class AbsolutelyAnythingGoesUploadPolicy This policy is invoked when processing uploads from the test process.
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.