Part of lp.archiveuploader.tests
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 |
Parameters | fileID | Use this as the librarian's file ID. |
path | If specified, use the changes file at "path", otherwise the changes file for ed-0.2-21 is used. |