mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
[fix] pdbe test
This commit is contained in:
parent
1088c2a75d
commit
9e79ad4bde
@ -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 New Issue
Block a user