def test(k=None):
    venv.install('pytest')
    py_test = venv.get_script('py.test')
    test_script = P.join('applib', 'test', 'all.py')
    if not P.exists('tmp'):
        os.mkdir('tmp')
    if k is not None:
        args = " -k " + k
    else:
        args = ""
    local(
        '{0} -x -v {1} {2} --junitxml=tmp/testreport.xml'.format(py_test, test_script, args),
        capture=False)
Set the package info unattended uninstall.
dataset/ETHPy150Open ActiveState/applib/fabfile.py/test--crossover with--dataset/ETHPy150Open google/simian/src/simian/mac/munki/plist.py/MunkiPackageInfoPlist.SetUnattendedUninstall