def description_text(self): """Returns the description without HTML entities.""" return strip_html(self.description)
def test_strip_html(input, expected): assert utils.strip_html(input) == expected