l.a.t.t.BrokenUploadPolicy(AbstractUploadPolicy) : class documentation

Part of lp.archiveuploader.tests.test_uploadprocessor View In Hierarchy

A broken upload policy, to test error handling.
Method __init__ Prepare a policy...
Method checkUpload Raise an exception upload processing is not expecting.

Inherited from AbstractUploadPolicy:

Method validateUploadType Check that the type of the given upload is accepted by this policy.
Method setOptions Store the options for later.
Method setDistroSeriesAndPocket Set the distroseries and pocket from the provided name.
Method policySpecificChecks Implement any policy-specific checks in child.
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 checkUpload(self, upload):
Raise an exception upload processing is not expecting.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.