l.a.t.test_publish_ftpmaster : module documentation

Part of lp.archivepublisher.tests

Test publish-ftpmaster cron script.
Function path_exists Does the given file or directory exist?
Function name_pph_suite Return name of pph's suite.
Function get_pub_config Find the publishing config for distro.
Function get_archive_root Return the archive root for the given publishing config.
Function get_dists_root Return the dists root directory for the given publishing config.
Function get_distscopy_root Return the "distscopy" root for the given publishing config.
Function write_marker_file Write a marker file for checking directory movements.
Function read_marker_file Read the contents of a marker file.
Function get_a_suite Return some suite name for distroseries.
Function get_marker_files Return filesystem paths for all indexes markers for distroseries.
Class HelpersMixin Helpers for the PublishFTPMaster tests.
Class TestNewerMtime Undocumented
Class TestPublishFTPMasterScript No class docstring; 3/54 methods documented
Class TestCreateDistroSeriesIndexes Test initial creation of archive indexes for a DistroSeries.
def path_exists(*path_components):
Does the given file or directory exist?
def name_pph_suite(pph):
Return name of pph's suite.
def get_pub_config(distro):
Find the publishing config for distro.
def get_archive_root(pub_config):
Return the archive root for the given publishing config.
def get_dists_root(pub_config):
Return the dists root directory for the given publishing config.
def get_distscopy_root(pub_config):
Return the "distscopy" root for the given publishing config.
def write_marker_file(path, contents):
Write a marker file for checking directory movements.
ParameterspathA list of path components.
contentsText to write into the file.
def read_marker_file(path):
Read the contents of a marker file.
ParametersreturnContents of the marker file.
def get_a_suite(distroseries):
Return some suite name for distroseries.
def get_marker_files(script, distroseries):
Return filesystem paths for all indexes markers for distroseries.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.