summaryrefslogtreecommitdiff
path: root/searx/tests
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2015-04-26 19:23:06 +0200
committerAlexandre Flament <alex@al-f.net>2015-04-26 19:23:06 +0200
commit043b269c6ee3157d7ab42fd394ed5a84185980cb (patch)
treee6bef41f1303a0803815edbb60d579037a1d4680 /searx/tests
parent8806002886eeb998df54f3b44d8ad43513f58880 (diff)
downloadsearxng-043b269c6ee3157d7ab42fd394ed5a84185980cb.tar.gz
searxng-043b269c6ee3157d7ab42fd394ed5a84185980cb.zip
[fix] tests
Diffstat (limited to 'searx/tests')
-rw-r--r--searx/tests/engines/test_currency_convert.py2
-rw-r--r--searx/tests/engines/test_stackoverflow.py2
-rw-r--r--searx/tests/engines/test_vimeo.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/searx/tests/engines/test_currency_convert.py b/searx/tests/engines/test_currency_convert.py
index 271ed03a2..579c5cc1f 100644
--- a/searx/tests/engines/test_currency_convert.py
+++ b/searx/tests/engines/test_currency_convert.py
@@ -40,5 +40,5 @@ class TestCurrencyConvertEngine(SearxTestCase):
self.assertEqual(len(results), 1)
self.assertEqual(results[0]['answer'], '10 EUR = 5.0 USD (1 EUR = 0.5 USD)')
now_date = datetime.now().strftime('%Y%m%d')
- self.assertEqual(results[0]['url'], 'http://finance.yahoo.com/currency/converter-results/' +
+ self.assertEqual(results[0]['url'], 'https://finance.yahoo.com/currency/converter-results/' +
now_date + '/10-eur-to-usd.html')
diff --git a/searx/tests/engines/test_stackoverflow.py b/searx/tests/engines/test_stackoverflow.py
index e69bafb4c..18a1ff4bd 100644
--- a/searx/tests/engines/test_stackoverflow.py
+++ b/searx/tests/engines/test_stackoverflow.py
@@ -64,7 +64,7 @@ class TestStackoverflowEngine(SearxTestCase):
self.assertEqual(type(results), list)
self.assertEqual(len(results), 1)
self.assertEqual(results[0]['title'], 'This is the title')
- self.assertEqual(results[0]['url'], 'http://stackoverflow.com/questions/this.is.the.url')
+ self.assertEqual(results[0]['url'], 'https://stackoverflow.com/questions/this.is.the.url')
self.assertEqual(results[0]['content'], 'This is the content')
html = """
diff --git a/searx/tests/engines/test_vimeo.py b/searx/tests/engines/test_vimeo.py
index 24b3ad897..dad7239b4 100644
--- a/searx/tests/engines/test_vimeo.py
+++ b/searx/tests/engines/test_vimeo.py
@@ -52,7 +52,7 @@ class TestVimeoEngine(SearxTestCase):
self.assertEqual(type(results), list)
self.assertEqual(len(results), 1)
self.assertEqual(results[0]['title'], 'This is the title')
- self.assertEqual(results[0]['url'], 'http://vimeo.com/videoid')
+ self.assertEqual(results[0]['url'], 'https://vimeo.com/videoid')
self.assertEqual(results[0]['content'], '')
self.assertEqual(results[0]['thumbnail'], 'http://image.url.webp')
self.assertIn('/videoid', results[0]['embedded'])