def test8(self): u"""" Ничего не найдено есть """ html = self.get_data('not_found4.html') g = GoogleParser(html) self.assertEqual(g.is_not_found(), True)
def test5(self): u"""" Ничего не найдено нет """ html = self.get_data('google.html') g = GoogleParser(html) self.assertEqual(g.is_not_found(), False)
def test5(self): u"""" Ничего не найдено нет """ html = self.get_data('google.html') g = GoogleParser(html) self.assertEqual(g.is_not_found(), False)
def test7(self): u"""" Ничего не найдено есть """ html = self.get_data('not_found4.html') g = GoogleParser(html) self.assertEqual(g.is_not_found(), True)
def test4(self): u"""" Ничего не найдено есть """ html = self.get_data('not-found.html') g = GoogleParser(html) self.assertEqual(g.is_not_found(), True) pe = GoogleParser.pagination_exists(html) self.assertFalse(pe)
def test4(self): u"""" Ничего не найдено есть """ html = self.get_data('not-found.html') g = GoogleParser(html) self.assertEqual(g.is_not_found(), True) pe = GoogleParser.pagination_exists(html) self.assertFalse(pe)