l.a.t.AbsolutelyAnythingGoesUploadPolicy(AnythingGoesUploadPolicy) : class documentation

Part of lp.archiveuploader.tests View In Hierarchy

This policy is invoked when processing uploads from the test process.

Absolutely everything is allowed, for when you don't want the hassle of dealing with inappropriate checks in tests.

Method __init__ Prepare a policy...
Method policySpecificChecks Nothing, let it go.

Inherited from AnythingGoesUploadPolicy:

Method validateUploadType We accept uploads of any type.

Inherited from AbstractUploadPolicy (via AnythingGoesUploadPolicy):

Method setOptions Store the options for later.
Method setDistroSeriesAndPocket Set the distroseries and pocket from the provided name.
Method checkUpload Mandatory policy checks on NascentUploads.
Method autoApprove Return whether the upload should be automatically approved.
Method autoApproveNew Return whether the NEW upload should be automatically approved.
def __init__(self):
Prepare a policy...
def policySpecificChecks(self, upload):
Nothing, let it go.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.