mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 12:51:02 +00:00
[fix] pdbe test
This commit is contained in:
parent
1088c2a75d
commit
9e79ad4bde
1 changed files with 2 additions and 2 deletions
|
@ -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 (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'))
|
||||
|
|
Loading…
Reference in a new issue