searxng/searx/tests/engines
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
..
__init__.py Add tests for searx.engines.(dummy|github) 2014-07-14 15:33:56 +02:00
test_bing.py Add bing in the test units 2015-01-25 20:14:37 +01:00
test_bing_images.py [fix] pep8, tests 2015-02-08 22:01:24 +01:00
test_bing_news.py Bing news' unit test 2015-01-29 20:56:57 +01:00
test_blekko_images.py [fix] pep8, tests 2015-02-08 22:01:24 +01:00
test_btdigg.py BTDigg's unit test 2015-01-30 19:52:44 +01:00
test_dailymotion.py Dailymotion's unit test 2015-01-27 23:20:57 +01:00
test_deezer.py Mixcloud's unit test 2015-01-25 22:33:02 +01:00
test_deviantart.py Deviant Art's unit test 2015-01-29 01:13:33 +01:00
test_digg.py Deviant Art's unit test 2015-01-29 01:13:33 +01:00
test_dummy.py Add tests for searx.engines.(dummy|github) 2014-07-14 15:33:56 +02:00
test_flickr.py Flickr's test unit 2015-01-26 17:36:10 +01:00
test_flickr_noapi.py Flickr Noapi unit test 2015-02-01 14:31:04 +01:00
test_gigablast.py [enh] add gigablast engine 2015-02-08 14:12:14 +01:00
test_github.py Add tests for searx.engines.(dummy|github) 2014-07-14 15:33:56 +02:00
test_google_images.py Google images' unit test 2015-01-31 16:16:30 +01:00
test_google_news.py Google news' unit test 2015-01-31 16:38:03 +01:00
test_kickass.py [fix] kickass engine : change the hostname to kickass.to (since kickass.so doesn't respond). 2015-02-12 14:30:03 +01:00
test_mixcloud.py Mixcloud's unit test 2015-01-25 22:33:02 +01:00
test_piratebay.py [fix] piratebay url change in tests 2015-02-03 00:27:40 +01:00
test_searchcode_code.py Searchcode code's test unit 2015-01-27 22:37:11 +01:00
test_searchcode_doc.py Searchcode doc's test unit 2015-01-27 22:38:56 +01:00
test_soundcloud.py Soundcloud's unit test 2015-01-31 17:10:37 +01:00
test_stackoverflow.py Stackoverflow's unit test 2015-01-31 17:29:22 +01:00
test_vimeo.py Vimeo's unit test 2015-01-31 19:49:54 +01:00
test_www1x.py [enh] add test for 1x.com 2015-02-01 13:52:43 +01:00
test_www500px.py 500px unit test 2015-02-01 13:43:10 +01:00
test_youtube.py Youtube's unit test 2015-01-26 18:24:08 +01:00