예제 #1
0
 def test_parse_timeline_default(self):
     source = self._read_html("Timeline.default.html")
     results = parse_timeline(source, path_prefix="/trac/wiki")
     self.assertEqual(len(results), 57)
예제 #2
0
 def test_parse_timeline_edgewall(self):
     source = self._read_html("Timeline.edgewall.html")
     results = parse_timeline(source, path_prefix="/wiki")
     self.assertEqual(len(results), 30)