summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_duckduckgo.py
AgeCommit message (Collapse)Author
2019-12-21[mod] remove useless engine unit testsAdam Tauber
These tests are not able to detect engine errors if the upstream site changes.
2018-03-27refactor engine's search language handlingMarc Abonce Seguin
Add match_language function in utils to match any user given language code with a list of engine's supported languages. Also add language_aliases dict on each engine to translate standard language codes into the custom codes used by the engine.
2017-05-27[fix] fix duckduckgo's offsetmarc
First page now starts with 0 offset, rather than starting on the 30th result. DuckDuckGo returns 30 results on each page.
2017-05-15[enh] py3 compatibilityAdam Tauber
2016-12-15tests for _fetch_supported_languages in enginesmarc
and refactor method to make it testable without making requests
2016-12-13tests for language support in enginesmarc
2016-12-13Add language support for more engines.marc
2016-12-11add year filter to engines with time range support && testsNoémi Ványi
Following engines does not support "Last year": * Bing News * DeviantArt * DuckDuckGo * Yahoo * YouTube (noapi)
2016-07-26[fix] time range detectionAdam Tauber
2016-07-12[fix] multilingual duckduckgoa01200356
only works if both country and language are set
2016-03-21[fix] duckduckgo's xpaths changeda01200356
test_duckduckgo modified to reflect changes in duckduckgo's html
2016-01-10[mod] remove buildout/makefile infrastructureAdam Tauber