def test_to_html(self): interval = HTMLInterval(raw='Interval') self.assertEqual('Interval', interval.to_html())