Example #1
0
 def test_strip_comments(self):
     # Assert strip <!-- --> elements.
     v = web.strip_comments(" <!-- text --> ")
     self.assertEqual(v, "  ")
     print "pattern.web.strip_comments()"
Example #2
0
 def test_strip_comments(self):
     # Assert strip <!-- --> elements.
     v = web.strip_comments(" <!-- text --> ")
     self.assertEqual(v, "  ")
     print "pattern.web.strip_comments()"