l.a.t.test_nascentupload_documentation : module documentation

Part of lp.archiveuploader.tests

Runs the doctests for archiveuploader module.
Function getUploadForSource Return a NascentUpload object for a source.
Function getPPAUploadForSource Return a NascentUpload object for a PPA source.
Function getUploadForBinary Return a NascentUpload object for binaries.
Function testGlobalsSetup Inject useful helper functions in tests globals.
Function prepareHoaryForUploads Prepare ubuntu/hoary to receive uploads.
Function setUp Setup a typical nascentupload test environment.
Function tearDown Undocumented
Function test_suite Undocumented
def getUploadForSource(upload_path):
Return a NascentUpload object for a source.
def getPPAUploadForSource(upload_path, ppa):
Return a NascentUpload object for a PPA source.
def getUploadForBinary(upload_path):
Return a NascentUpload object for binaries.
def testGlobalsSetup(test):
Inject useful helper functions in tests globals.

We can use the getUpload* without unnecessary imports.

def prepareHoaryForUploads(test):
Prepare ubuntu/hoary to receive uploads.

Ensure ubuntu/hoary is ready to receive and build new uploads in the RELEASE pocket (they are auto-overridden to the 'universe' component).

def setUp(test):
Setup a typical nascentupload test environment.

Use 'uploader' datebase user in a LaunchpadZopelessLayer transaction. Log in as a Launchpad admin (foo.bar@canonical.com). Setup test globals and prepare hoary for uploads

def tearDown(test):
Undocumented
def test_suite():
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.