def test_find_scrapers_error(self): with pytest.raises(ValueError): scraper.find_scrapers("")
def test_find_scrapers_single(self): result = scraper.find_scrapers("xkcd") assert len(result) == 1
def test_find_scrapers_multi(self): result = scraper.find_scrapers("a", multiple_allowed=True) assert len(result) > 1
def test_find_scrapers_error(self): with pytest.raises(ValueError, match='empty comic name'): scraper.find_scrapers('')