def test_create_link_EEXIST(self):
    with mock.patch.object(os, 'symlink', autospec=True) as symlink_mock:
        symlink_mock.side_effect = OSError(errno.EEXIST)
        utils.create_link_without_raise('/fake/source', '/fake/link')
        symlink_mock.assert_called_once_with('/fake/source', '/fake/link')
def test_create_link_EEXIST(self):
    with mock.patch.object(os, 'symlink', autospec=True) as symlink_mock:
        symlink_mock.side_effect = OSError(errno.EEXIST)
        utils.create_link_without_raise('/fake/source', '/fake/link')
        symlink_mock.assert_called_once_with('/fake/source', '/fake/link')