Exemplo n.º 1
0
 def test_strip(self):
     """test Heading.__strip__()"""
     node = Heading(wraptext("foobar"), 3)
     self.assertEqual("foobar", node.__strip__())
Exemplo n.º 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))
Exemplo n.º 3
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))