From af35eee10b98940c51c6e5e18629de514b4bd48d Mon Sep 17 00:00:00 2001 From: marc Date: Thu, 15 Dec 2016 00:34:43 -0600 Subject: tests for _fetch_supported_languages in engines and refactor method to make it testable without making requests --- searx/engines/bing_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/engines/bing_images.py') diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py index 746d3abc4..97f6dca37 100644 --- a/searx/engines/bing_images.py +++ b/searx/engines/bing_images.py @@ -19,7 +19,7 @@ from urllib import urlencode from lxml import html from json import loads import re -from searx.engines.bing import fetch_supported_languages +from searx.engines.bing import _fetch_supported_languages, supported_languages_url # engine dependent config categories = ['images'] -- cgit v1.2.3