logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 9e79ad4bde008885af69da35893588184dcbf005
parent: 1088c2a75dbfd4d5fba418fd2ceb1a7fd375fda1
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Fri,  1 Dec 2017 20:58:40 +0100

[fix] pdbe test

Diffstat:

Mtests/unit/engines/test_pdbe.py4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/unit/engines/test_pdbe.py b/tests/unit/engines/test_pdbe.py @@ -105,5 +105,5 @@ class TestPdbeEngine(SearxTestCase): results = pdbe.response(response) self.assertEqual(type(results), list) self.assertEqual(len(results), 1) - self.assertEqual(results[0]['title'], 'OBSOLETE ENTRY TEST&nbsp;(OBSOLETE)') - self.assertTrue(results[0]['content'].startswith('<em>This entry has been superseded by')) + self.assertEqual(results[0]['title'], 'OBSOLETE ENTRY TEST (OBSOLETE)') + self.assertTrue(results[0]['content'].startswith('This entry has been superseded by'))