Module | cronscript-crash | Cronscript that raises an unhandled exception. |
Module | example-cronscript | An example cronscript. If it runs, it returns 42 as its return code. |
Module | loglevels | Parse logging command line arguments and output some log messages. |
Module | test_all_scripts | Check the integrity of the /scripts and /cronscripts. |
Module | test_cronscript_enabled | Test the cronscript_enabled function in scripts/base.py. |
Module | test_doc | Run the doctests and pagetests. |
Module | test_feature_controller | Test feature controller in scripts. |
Module | test_logger | Runn test_logger.txt. |
Module | test_rundoctests | Undocumented |
Module | _pythonpath | Undocumented |
From the __init__.py module:
Function | find_lp_scripts | Find all scripts/ and cronscripts/ files in the current tree. |
Function | run_script | Run a script for testing purposes. |
Skips filename starting with '_' or not ending with '.py' or listed in the KNOWN_BROKEN blacklist.
Parameters | script_relpath | The relative path to the script, from the tree root. |
args | Arguments to provide to the script. | |
expect_returncode | The return code expected. If a different value is returned, and exception will be raised. | |
extra_env | A dictionary of extra environment variables to provide to the script, or None. |