mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 12:10:11 +01:00
[fix] kickass tests
This commit is contained in:
parent
c4dd7c3a54
commit
9d537c0bad
@ -47,7 +47,7 @@ def response(resp):
|
||||
|
||||
# check if redirect comparing to the True value,
|
||||
# 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
|
||||
|
||||
dom = html.fromstring(resp.text)
|
||||
|
Loading…
Reference in New Issue
Block a user