Пример #1
0
 def test_get_ids(self, input, expected):
     instance = IdCollector()
     instance.get_ids(input)
     assert len(instance.ids_list) == expected
Пример #2
0
 def test_parse_html_for_links(self):
     instance = IdCollector()
     links = instance._parse_html_for_links()
     assert len(links) == 250