diff options
author | a01200356 <a01200356@itesm.mx> | 2016-04-17 16:21:44 -0500 |
---|---|---|
committer | a01200356 <a01200356@itesm.mx> | 2016-04-17 16:34:46 -0500 |
commit | 6dca14e95d08479fb49314cb4093be36ac49cf94 (patch) | |
tree | 0c2e1de4480e31dd0bb523e400193069e192d39c /tests/unit | |
parent | 8d335dbdaedd6113242e785e8fabac86128d069a (diff) | |
download | searxng-6dca14e95d08479fb49314cb4093be36ac49cf94.tar.gz searxng-6dca14e95d08479fb49314cb4093be36ac49cf94.zip |
[enh] multilingual duckduckgo_definitions
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/engines/test_duckduckgo_definitions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/engines/test_duckduckgo_definitions.py b/tests/unit/engines/test_duckduckgo_definitions.py index 71c84235c..39da64175 100644 --- a/tests/unit/engines/test_duckduckgo_definitions.py +++ b/tests/unit/engines/test_duckduckgo_definitions.py @@ -123,7 +123,7 @@ class TestDDGDefinitionsEngine(SearxTestCase): self.assertEqual(results[1]['url'], 'result first url') self.assertEqual(results[2]['suggestion'], 'text') self.assertEqual(results[3]['infobox'], 'heading') - self.assertEqual(results[3]['id'], 'http://definition.url') + self.assertEqual(results[3]['id'], 'https://definition.url') self.assertEqual(results[3]['entity'], 'Entity') self.assertIn('abstract', results[3]['content']) self.assertIn('this is the definition', results[3]['content']) @@ -240,7 +240,7 @@ class TestDDGDefinitionsEngine(SearxTestCase): self.assertEqual(type(results), list) self.assertEqual(len(results), 1) self.assertEqual(results[0]['infobox'], 'heading') - self.assertEqual(results[0]['id'], 'http://definition.url') + self.assertEqual(results[0]['id'], 'https://definition.url') self.assertEqual(results[0]['entity'], 'Entity') self.assertIn('abstract', results[0]['content']) self.assertIn('this is the definition', results[0]['content']) |