'We should detect a loop via the parent and give up on the branch'

def test_symlink_pointing_at_parent_fails(self):

    os.symlink(self.tmpdir, os.path.join(self.tmpdir, u'link'))
    (result, errors) = path.find_mtimes(self.tmpdir, follow=True)
    self.assertEqual({}, result)
    self.assertEqual(1, len(errors))
    self.assertEqual(tests.IsA(Exception), errors.values()[0])
