'The ``Put`` intent puts the provided contents in the specified file.'

def test_put(self):

    content = '\\hell%o'
    command = run_remotely(username='root', address=str(self.server.ip), port=self.server.port, commands=put(content=content, path='file'))
    d = perform(make_dispatcher(self.reactor), command)
    def check(_):
        self.assertEqual(self.server.home.child('file').getContent(), content)
    d.addCallback(check)
    return d
