Part of lp.archiveuploader.tests View In Hierarchy
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. |