'Verify C{linkTo} fails in the following case:
- the target is in a directory that doesn\'t exist
- the target already exists'

def test_linkToErrors(self):

    self.assertRaises(OSError, self.path.child('file1').linkTo, self.path.child('nosub').child('file1'))
    self.assertRaises(OSError, self.path.child('file1').linkTo, self.path.child('sub1').child('file2'))
