tests | |
---|---|
package |
Simple Python-based setuid+setgid+setgroups+exec. A port of https://github.com/tianon/gosu
- Free software: BSD 2-Clause License
pip install pysu
You can also install the in-development version with:
pip install https://github.com/ionelmc/python-su/archive/master.zip
Usage: pysu [-h] user[:group] command
Change user and exec command.
- positional arguments:
- user command
- optional arguments:
-h, --help show this help message and exit
To run all the tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows | set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other | PYTEST_ADDOPTS=--cov-append tox |