'Clobbering existing local file should overwrite, with warning'

@server()
@mock_streams('stderr')
def test_get_file_with_existing_file_target(self):

    local = self.path('target.txt')
    target = 'file.txt'
    with open(local, 'w') as fd:
        fd.write('foo')
    with hide('stdout', 'running'):
        get(target, local)
    assert (('%s    already    exists' % local) in sys.stderr.getvalue())
    eq_contents(local, FILES[target])
