diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-05-02 13:36:00 -0400 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-05-02 13:36:00 -0400 |
commit | 59a65d0bdc98a76f03235055f214747f699923a9 (patch) | |
tree | d40cd40f1c2f96e44027b619171a0e78cf256a45 /searx/tests | |
parent | 01de1c6f7808f45698c2207ae1f1b73c1132b088 (diff) | |
parent | 59ee040424ccdef51f3616ed6487522bdaa44f3f (diff) | |
download | searxng-59a65d0bdc98a76f03235055f214747f699923a9.tar.gz searxng-59a65d0bdc98a76f03235055f214747f699923a9.zip |
Merge pull request #305 from dalf/https_again
[enh] reduce the number of http outgoing connections.
Diffstat (limited to 'searx/tests')
-rw-r--r-- | searx/tests/engines/test_deviantart.py | 2 | ||||
-rw-r--r-- | searx/tests/engines/test_google_images.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/tests/engines/test_deviantart.py b/searx/tests/engines/test_deviantart.py index 9cf68d0b8..78a391334 100644 --- a/searx/tests/engines/test_deviantart.py +++ b/searx/tests/engines/test_deviantart.py @@ -75,7 +75,7 @@ class TestDeviantartEngine(SearxTestCase): self.assertEqual(results[0]['title'], 'Title of image') self.assertEqual(results[0]['url'], 'http://url.of.result/2nd.part.of.url') self.assertNotIn('content', results[0]) - self.assertEqual(results[0]['thumbnail_src'], 'http://url.of.thumbnail') + self.assertEqual(results[0]['thumbnail_src'], 'https://url.of.thumbnail') html = """ <span class="tt-fh-tc" style="width: 202px;"> diff --git a/searx/tests/engines/test_google_images.py b/searx/tests/engines/test_google_images.py index 32d133334..9bef692d4 100644 --- a/searx/tests/engines/test_google_images.py +++ b/searx/tests/engines/test_google_images.py @@ -65,7 +65,7 @@ class TestGoogleImagesEngine(SearxTestCase): self.assertEqual(len(results), 1) self.assertEqual(results[0]['title'], 'This is the title') self.assertEqual(results[0]['url'], 'http://this.is.the.url') - self.assertEqual(results[0]['thumbnail_src'], 'http://thumbnail.url') + self.assertEqual(results[0]['thumbnail_src'], 'https://thumbnail.url') self.assertEqual(results[0]['img_src'], 'http://image.url.jpg') self.assertEqual(results[0]['content'], '<b>test</b>') |