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