jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: Pywikibot-pagegenerators, Pywikibot-tests.
TASK DESCRIPTION
Unit tests are needed for SearchPageGenerator, YahooSearchPageGenerator and
GoogleSearchPageGenerator.
They should include a subclass of DefaultSiteTestCase which tests any site by searching
for the word 'wiki' and checking the results
And site-specific test cases which verify these search generators find pages known to
match certain keywords. e.g. verify that a search for 'Exile in Sarajevo' on
english wikipedia returns
https://en.wikipedia.org/wiki/Exile_in_Sarajevo as the first
result.
https://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=Exil…
https://www.google.com/#safe=off&q=Exile+in+Sarajevo+site:en.wikipedia.…
https://id.search.yahoo.com/search?p=Exile+in+Sarajevo+site%3Aen.wikipedia.…
TASK DETAIL
https://phabricator.wikimedia.org/T85310
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, jayvdb, pywikipedia-bugs