mirror of
https://github.com/searxng/searxng.git
synced 2025-12-26 13:40:03 +00:00
tests for _fetch_supported_languages in engines
and refactor method to make it testable without making requests
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
from lxml import html
|
||||
from urllib import urlencode
|
||||
from json import loads
|
||||
from searx.engines.google import fetch_supported_languages
|
||||
from searx.engines.google import _fetch_supported_languages, supported_languages_url
|
||||
|
||||
# search-url
|
||||
categories = ['news']
|
||||
|
||||
Reference in New Issue
Block a user