def test_title(self): """test getter/setter for the title attribute""" title = wraptext("foobar") node = Heading(title, 3) self.assertIs(title, node.title) node.title = "héhehé" self.assertWikicodeEqual(wraptext("héhehé"), node.title)