def METHOD_NAME(self):
    # this method creates url with tag id
    tag = Tag.objects.create(name=self.VALID_NAME)
    assert tag.get_absolute_url() == (
        "/api/v1/tags/{tag_id}/"
        .format(tag_id=tag.id))