'A model can set attributes on the get_absolute_url method'

def test_get_absolute_url_attributes(self):

    self.assertTrue(getattr(UrlArticle.get_absolute_url, u'purge', False), u'The    attributes    of    the    original    get_absolute_url    must    be    added.')
    article = UrlArticle.objects.get(pk=1)
    self.assertTrue(getattr(article.get_absolute_url, u'purge', False), u'The    attributes    of    the    original    get_absolute_url    must    be    added.')
