l.a.t.t.HelpersMixin : class documentation

Part of lp.archivepublisher.tests.test_publish_ftpmaster View In Hierarchy

Known subclasses: lp.archivepublisher.tests.test_publish_ftpmaster.TestCreateDistroSeriesIndexes, lp.archivepublisher.tests.test_publish_ftpmaster.TestPublishFTPMasterScript

Helpers for the PublishFTPMaster tests.
Method makeDistroWithPublishDirectory Create a Distribution for testing.
Method makeScript Produce instance of the PublishFTPMaster script.
Method setUpForScriptRun Mock up config to run the script on distro.
def makeDistroWithPublishDirectory(self):
Create a Distribution for testing.

The distribution will have a publishing directory set up, which will be cleaned up after the test.

def makeScript(self, distro=None, extra_args=):
Produce instance of the PublishFTPMaster script.
def setUpForScriptRun(self, distro):
Mock up config to run the script on distro.
API Documentation for Launchpad, generated by pydoctor at 2019-09-18 00:00:08.