Exemple #1
0
 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)
 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)