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