예제 #1
0
from qaamus.utils import soupping, get_abs_path


idar_soup = soupping(get_abs_path("html/rumah+sakit"))
angka_soup = soupping(get_abs_path("html/angka123"))
pegon_soup = soupping(get_abs_path("html/pegon_suratman"))
예제 #2
0
 def setUp(self):
     self.soup = soupping(get_abs_path("html/angka123"))
     self.angka_parser = AngkaParser(self.soup)
예제 #3
0
 def setUp(self):
     self.soup = soupping(get_abs_path('html/rumah+sakit'))
     self.indaraparser = IndAraParser(self.soup)
예제 #4
0
 def test_get_next_page_url_with_no_next_in_page(self):
     soup = soupping(get_abs_path("html/rumah+sakit9"))
     no_next = IndAraParser(soup).get_next_page_url()
     self.assertFalse(no_next)
예제 #5
0
 def setUp(self):
     self.soup = soupping(get_abs_path("html/pegon_suratman"))
     self.pegon = PegonParser(self.soup)