def METHOD_NAME(self):
    # No errors
    self.update_links({
        'instance.config.externalLink.text': 'A link',
        'instance.config.externalLink.url': 'http://opentreemap.org/plot/#{planting_site.id}'  # NOQA
    })
    with self.assertRaises(ValidationError):
        self.update_links({
            'instance.config.externalLink.text': 'A link',
            'instance.config.externalLink.url': 'http://opentreemap.org/plot/#{planting_site.width}'  # NOQA
        })
    with self.assertRaises(ValidationError):
        self.update_links({
            'instance.config.externalLink.text': 'A link',
            'instance.config.externalLink.url': 'http://opentreemap.org/plot/#{bioswale.id}'  # NOQA
        })
    with self.assertRaises(ValidationError):
        self.update_links({
            'instance.config.externalLink.text': 'A link',
            'instance.config.externalLink.url': 'http://opentreemap.org/plot/#{id}'  # NOQA
        })
    with self.assertRaises(ValidationError):
        self.update_links({
            'instance.config.externalLink.text': 'A link',
            'instance.config.externalLink.url': 'http://opentreemap.org/plot/#{}'  # NOQA
        })