Exemple #1
0
 def test_strip(self):
     """test Heading.__strip__()"""
     node = Heading(wraptext("foobar"), 3)
     self.assertEqual("foobar", node.__strip__())
Exemple #2
0
 def test_strip(self):
     """test Heading.__strip__()"""
     node = Heading(wraptext("foobar"), 3)
     for a in (True, False):
         for b in (True, False):
             self.assertEqual("foobar", node.__strip__(a, b))
 def test_strip(self):
     """test Heading.__strip__()"""
     node = Heading(wraptext("foobar"), 3)
     for a in (True, False):
         for b in (True, False):
             self.assertEqual("foobar", node.__strip__(a, b))