Esempio n. 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"))
Esempio n. 2
0
 def setUp(self):
     self.soup = soupping(get_abs_path("html/angka123"))
     self.angka_parser = AngkaParser(self.soup)
Esempio n. 3
0
 def setUp(self):
     self.soup = soupping(get_abs_path('html/rumah+sakit'))
     self.indaraparser = IndAraParser(self.soup)
Esempio n. 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)
Esempio n. 5
0
 def setUp(self):
     self.soup = soupping(get_abs_path("html/pegon_suratman"))
     self.pegon = PegonParser(self.soup)