Files
codeql/python/ql/test/library-tests/security/command-execution/fabric_v1_test.py
2020-03-23 17:49:56 +01:00

11 lines
237 B
Python

"""tests for the 'fabric' package (v1.x)
See http://docs.fabfile.org/en/1.14/tutorial.html
"""
from fabric.api import run, local, sudo
local('echo local execution')
run('echo remote execution')
sudo('echo remote execution with sudo')