def teardown_disable_root():
    local('rm -rf .woven')
    with settings(host_string='woven@192.168.188.10:22',user='woven',password='woven'):
        run(('root','root')% 'echo %s:%s > /tmp/root_user.txt')
        sudo('chpasswd < /tmp/root_user.txt')
        sudo('rm -rf /tmp/root_user.txt')
        print "Closing connection %s"% env.host_string
        #print connections
        connections[env.host_string].close()
        try:
            connections['woven@example.com:22'].close()
        except: pass
        original_username = 'woven'
        (olduser,host,port) = normalize(env.host_string)
        host_string=join_host_strings('root',host,'22')
        with settings(host_string=host_string,  password='root'):
            sudo('deluser --remove-home '+original_username)
dataset/ETHPy150Open bretth/woven/tests/lin.py/teardown_disable_root/swapped operands of `%`