'put() a single file into an existing remote directory'

@server()
def test_put_file_to_existing_directory(self):

    text = 'foo!'
    local = self.mkfile('foo.txt', text)
    local2 = self.path('foo2.txt')
    with hide('everything'):
        put(local, '/')
        get('/foo.txt', local2)
    eq_contents(local2, text)
