Adam Tauber
ec2516b93d
Merge pull request #233 from dalf/master
...
[fix] kickass engine
2015-02-12 15:20:17 +01:00
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
Adam Tauber
f6db77d81e
Merge pull request #210 from Cqoicebordel/unit-tests
...
unit tests
2015-02-12 10:52:55 +01:00
Cqoicebordel
f96154b7c4
Google's unit test
2015-02-11 17:16:52 +01:00
Cqoicebordel
f703a77fc9
Photon's unit test
...
As in Flickr, a continue is not detected by coverage as covered but it is.
2015-02-10 18:44:49 +01:00
Cqoicebordel
8c2a5f0492
DDG Definitions' unit tests
2015-02-09 18:28:08 +01:00
Cqoicebordel
0a537d3b89
Yacy's unit test
2015-02-09 16:55:01 +01:00
Thomas Pointhuber
832ea60e3d
[fix] pep8, tests
2015-02-08 22:01:24 +01:00
Thomas Pointhuber
dd4686a388
[enh] add blekko_images engine
2015-02-08 14:49:46 +01:00
Thomas Pointhuber
04f7118d0a
[enh] add gigablast engine
2015-02-08 14:12:14 +01:00
Cqoicebordel
fb04f76698
Faroo's unit test
2015-02-07 15:35:12 +01:00
Cqoicebordel
d0a1df881a
Openstreetmap's unit test
2015-02-07 01:15:04 +01:00
Cqoicebordel
f1c10f4fe4
Startpage's unit test
2015-02-06 17:31:10 +01:00
Cqoicebordel
3a4d6045c1
Subtitleseeker's unit test
2015-02-06 16:39:59 +01:00
Cqoicebordel
9f13af8d3c
Yahoo's unit test
2015-02-04 20:41:40 +01:00
Cqoicebordel
ff2ad57a87
Yahoo News' unit test
2015-02-04 20:07:26 +01:00
Cqoicebordel
d6e511fc2f
Twitter's unit test
...
There is a commented line of a test that I didn't succed to make it work. It's an issue of unicode, utf-8, ascii, latin1... I think I tried everything, but if you have an idea... I'm still a newbie in python...
2015-02-04 19:39:31 +01:00
Cqoicebordel
a96208be96
Mediawiki's unit test
2015-02-03 19:56:26 +01:00
Adam Tauber
268e0516ee
[fix] piratebay url change in tests
2015-02-03 00:27:40 +01:00
Cqoicebordel
1ea5bc63a5
Currency converter's unit test + DDG correction
...
Does anyone know how to trigger the except in the currency converter while still being matched by the regex ?
2015-02-02 18:39:50 +01:00
Cqoicebordel
efe6dead55
Duckduckgo unit test
2015-02-02 17:55:39 +01:00
Adam Tauber
7f865356f9
Merge branch 'unit-tests' of https://github.com/Cqoicebordel/searx into Cqoicebordel-unit-tests
...
Conflicts:
searx/tests/test_engines.py
2015-02-02 09:36:43 +01:00
Cqoicebordel
5a16077455
PirateBay unit test + reactivation in Settings
2015-02-01 15:23:26 +01:00
Cqoicebordel
c6535dd65e
Flickr Noapi unit test
2015-02-01 14:31:04 +01:00
Thomas Pointhuber
a605d0ae69
[enh] add test for 1x.com
2015-02-01 13:52:43 +01:00
Cqoicebordel
8cf2ee5721
500px unit test
2015-02-01 13:43:10 +01:00
Cqoicebordel
04fa31b7f4
Vimeo's unit test
2015-01-31 19:49:54 +01:00
Cqoicebordel
d20ddf9da1
Stackoverflow's unit test
2015-01-31 17:29:22 +01:00
Cqoicebordel
787fee6a09
Soundcloud's unit test
2015-01-31 17:10:37 +01:00
Cqoicebordel
b7dc1fb9d5
Google news' unit test
2015-01-31 16:38:03 +01:00
Cqoicebordel
d5b8005ee1
Google images' unit test
2015-01-31 16:16:30 +01:00
Cqoicebordel
8ea749d6ec
Kickass' unit test
2015-01-30 21:02:17 +01:00
Cqoicebordel
a3d444ab85
BTDigg's unit test
2015-01-30 19:52:44 +01:00
Cqoicebordel
efde2c21c8
Bing news' unit test
...
I have no idea why coverage tell 97% and 2 misses in branches. If anyone has an idea...
2015-01-29 20:56:57 +01:00
Cqoicebordel
dad0434f34
Bing images' unit test
2015-01-29 20:15:52 +01:00
Cqoicebordel
d495704551
Deviant Art's unit test
2015-01-29 01:13:33 +01:00
Cqoicebordel
1d255061c7
Digg's unit test
2015-01-29 00:26:12 +01:00
Cqoicebordel
92368a4107
Dailymotion's unit test
2015-01-27 23:20:57 +01:00
Cqoicebordel
0f81aa8410
Searchcode doc's test unit
2015-01-27 22:38:56 +01:00
Cqoicebordel
eca5de73a7
Searchcode code's test unit
2015-01-27 22:37:11 +01:00
Cqoicebordel
cfe81d741c
A bit of utils unit tests
2015-01-27 20:03:33 +01:00
Cqoicebordel
4dba3739fb
Youtube's unit test
2015-01-26 18:24:08 +01:00
Cqoicebordel
8f040e30ad
Flickr's test unit
2015-01-26 17:36:10 +01:00
Cqoicebordel
192f255e13
Mixcloud's unit test
2015-01-25 22:33:02 +01:00
Cqoicebordel
0f52cc7542
Deezer's unit test
2015-01-25 22:12:34 +01:00
Cqoicebordel
525af2a031
Add bing in the test units
2015-01-25 20:14:37 +01:00
Adam Tauber
edd9d31180
[fix] test with default theme
2015-01-16 17:46:02 +01:00
Adam Tauber
798bef77f9
[fix] static content paths
2015-01-01 19:24:47 +01:00
Adam Tauber
8151585918
[fix] static file paths
2015-01-01 17:54:33 +01:00
Thomas Pointhuber
8f4814ade2
[fix] fix test
2014-12-28 15:53:03 +01:00
Adam Tauber
61ab5f2693
[fix] view tests
2014-12-24 21:15:36 +01:00
Cqoicebordel
b2f5f65595
Correct test case
...
Add the alt in favicon
2014-12-13 20:30:19 +01:00
dalf
8534d8b87a
[fix] test : the icon is included inside the <h3> element
2014-10-26 12:01:54 +01:00
dalf
728fc611da
[fix] infoboxes and answers : pass all tests
2014-10-01 22:46:31 +02:00
Gabor Nagy
f705800612
Add tests for searx.engines.(dummy|github)
2014-07-14 15:33:56 +02:00
Gabor Nagy
8810273010
Cover searx.utils
2014-07-12 15:46:55 +02:00
Adam Tauber
b0ba367a1a
[enh][mod] search refactor
2014-07-07 13:59:27 +02:00
Adam Tauber
73948f3020
[fix] pep8
2014-05-16 16:51:23 +02:00
Adam Tauber
b70f16c8c9
[fix] test updates
2014-05-09 02:16:55 +02:00
asciimoo
4d878993bd
[fix] robot tests
2014-02-07 01:52:46 +01:00
asciimoo
0540ea9ee2
[enh][mod] code refactor ++ search engine filtering
2014-02-07 01:19:07 +01:00
asciimoo
c0013edcdd
[enh] engine customisation init
2014-02-07 00:35:15 +01:00
Gabor Nagy
22fd0746d9
Improves PEP8 compatibility.
2014-02-05 20:24:31 +01:00
asciimoo
455ff25a93
[fix] pep8
2014-01-31 16:17:49 +01:00
Matej Cotman
2bcc949abe
add view tests
2014-01-31 07:36:58 +01:00
Matej Cotman
6624dd51f5
add robot tests
2014-01-29 04:58:10 +01:00
Matej Cotman
e740c8a8ea
tests and robot tests framework, build overhaul
2014-01-14 23:31:15 +01:00