def deploy_git(deploy_configs):
    with settings(warn_only=True):
        res = local('which ghp-import > /dev/null 2>&1; echo $?', capture=True)
        if int(res.strip()):
            do_exit('Warning: ghp-import not installed! '
                    'run: `pip install ghp-import`')
    output_dir = configs['destination']
    remote = deploy_configs.get('remote', 'origin')
    branch = deploy_configs.get('branch', 'gh-pages')
    # commit gh-pages branch and push to remote
    _mesg = 'Update output documentation'
    local('ghp-import -p -m "{0}" -r {1} -b {2} {3}'
          .format(_mesg, remote, branch, output_dir))
Test that the abs() function works properly.
dataset/ETHPy150Open tankywoo/simiki/simiki/conf_templates/fabfile.py/deploy_git--crossover with--dataset/ETHPy150Open mozilla/app-validator/tests/js/test_math.py/TestMathFuncs.test_abs