'Using symlinks to make a file show up multiple times should work'

def test_symlink_branches_are_not_excluded(self):

    self.mkdir(u'directory')
    target = self.touch(u'directory', u'target')
    link1 = os.path.join(self.tmpdir, 'link1')
    link2 = os.path.join(self.tmpdir, 'link2')
    os.symlink(target, link1)
    os.symlink(target, link2)
    expected = {target: tests.any_int, link1: tests.any_int, link2: tests.any_int}
    (result, errors) = path.find_mtimes(self.tmpdir, follow=True)
    self.assertEqual(expected, result)
    self.assertEqual({}, errors)
