searxngRebrandZaclys/searx/tests
dalf 9db0bbc304 [fix] kickass engine : change the hostname to kickass.to (since kickass.so doesn't respond).
Close #197 perhaps not in clean way. Explanation :
In fact 301 responses are followed, except the hook is called for each HTTP response,
the first time for the HTTP 301 response then for HTTP 200 response.
Since the kickass engine excepts a real result, the engine crashes, AND the requests lib stops here.
Add a simple test at the beginning of the result function allows pass the first response and handle correctly the second response (the real one)

May be a proper way is to add this test in search.py ?

Code inside requests :
53d02381e2/requests/sessions.py (L579)
and line 591
2015-02-12 14:30:03 +01:00
..
engines [fix] kickass engine : change the hostname to kickass.to (since kickass.so doesn't respond). 2015-02-12 14:30:03 +01:00
robot [fix] robot tests 2014-02-07 01:52:46 +01:00
__init__.py tests and robot tests framework, build overhaul 2014-01-14 23:31:15 +01:00
test_engines.py [enh] add blekko_images engine 2015-02-08 14:49:46 +01:00
test_robot.py Improves PEP8 compatibility. 2014-02-05 20:24:31 +01:00
test_utils.py A bit of utils unit tests 2015-01-27 20:03:33 +01:00
test_webapp.py [fix] test with default theme 2015-01-16 17:46:02 +01:00