summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2017-12-01 20:58:40 +0100
committerAdam Tauber <asciimoo@gmail.com>2017-12-01 20:58:40 +0100
commit9e79ad4bde008885af69da35893588184dcbf005 (patch)
treedd4ff1da60bcf7b258e47de1d2e9415a02bfb9b1 /tests
parent1088c2a75dbfd4d5fba418fd2ceb1a7fd375fda1 (diff)
downloadsearxng-9e79ad4bde008885af69da35893588184dcbf005.tar.gz
searxng-9e79ad4bde008885af69da35893588184dcbf005.zip
[fix] pdbe test
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/engines/test_pdbe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/engines/test_pdbe.py b/tests/unit/engines/test_pdbe.py
index 7aa8e2655..ea5adf9dc 100644
--- 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'))