mirror of
https://github.com/searx/searx
synced 2025-08-31 06:26:28 +00:00
[fix] kickass tests
This commit is contained in:
@@ -47,7 +47,7 @@ def response(resp):
|
|||||||
|
|
||||||
# check if redirect comparing to the True value,
|
# check if redirect comparing to the True value,
|
||||||
# because resp can be a Mock object, and any attribut name returns something.
|
# because resp can be a Mock object, and any attribut name returns something.
|
||||||
if resp.is_redirect == True:
|
if resp.is_redirect is True:
|
||||||
return results
|
return results
|
||||||
|
|
||||||
dom = html.fromstring(resp.text)
|
dom = html.fromstring(resp.text)
|
||||||
|
Reference in New Issue
Block a user