コード例 #1
0
 def test_strip(self):
     """test Heading.__strip__()"""
     node = Heading(wraptext("foobar"), 3)
     self.assertEqual("foobar", node.__strip__())
コード例 #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))
コード例 #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))