salt-factories
CLI ScriptΒΆ
The salt-factories
CLI script is meant to be used to get an absolute path to the directory containing
sitecustomize.py
so that it can be injected into PYTHONPATH
when running tests to track subprocesses
code coverage.
Example:
export PYTHONPATH="$(salt-factories --coverage);$PYTHONPATH"
Please check the coverage documentation on the additional requirements to track code coverage on subprocesses.