def test_find_scraperclasses_single(self): result = scraper.find_scraperclasses("CalvinAndHobbes") self.assertEqual(len(result), 1)
def test_find_scraperclasses_multi(self): result = scraper.find_scraperclasses("a", multiple_allowed=True) self.assertTrue(len(result) > 1)
def test_find_scraperclasses_error(self): with pytest.raises(ValueError): scraper.find_scraperclasses("")
def test_find_scraperclasses_single(self): result = scraper.find_scraperclasses("xkcd") assert len(result) == 1
def test_find_scraperclasses_single(self): result = scraper.find_scraperclasses("xkcd") self.assertEqual(len(result), 1)