Пример #1
0
 def test_example_page_5(self):
     html = open("tests/ej-bacua-page_5.html").read()
     res = get_bacua_episodes.scrap_page(html)
     #print "\n=== res", [sorted(x.items()) for x in res]
     #print "=== RES", [sorted(x.items()) for x in _RES_PAGE_5]
     self.assertEqual(res, _RES_PAGE_5)
Пример #2
0
 def test_example_page_4(self):
     html = open("tests/ej-bacua-page_4.html").read()
     res = get_bacua_episodes.scrap_page(html)
     self.assertEqual(res, _RES_PAGE_4)