def test_none(self): self.assertEqual(html2text(None), None)
def test_text_only(self): self.assertEqual(html2text("foo"), "foo")
def test_invalid_tags(self): self.assertEqual(html2text("<foo>the text</bar>"), "the text")
def test_empty(self): self.assertEqual(html2text(""), "")
def test_invalid_tags(self): assert_pformat_equal(html2text("<foo>the text</bar>"), "the text")
def test_text_only(self): assert_pformat_equal(html2text("foo"), "foo")
def test_empty(self): assert_pformat_equal(html2text(""), "")
def test_none(self): assert_pformat_equal(html2text(None), None)