l.s.s.t.__init__ : module documentation

Part of lp.services.scripts.tests

No module docstring
Function find_lp_scripts Find all scripts/ and cronscripts/ files in the current tree.
Function run_script Run a script for testing purposes.
def find_lp_scripts():
Find all scripts/ and cronscripts/ files in the current tree.

Skips filename starting with '_' or not ending with '.py' or listed in the KNOWN_BROKEN blacklist.

def run_script(script_relpath, args, expect_returncode=0, extra_env=None):
Run a script for testing purposes.
Parametersscript_relpathThe relative path to the script, from the tree root.
argsArguments to provide to the script.
expect_returncodeThe return code expected. If a different value is returned, and exception will be raised.
extra_envA dictionary of extra environment variables to provide to the script, or None.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.