@@ -43,6 +43,8 @@ class ViewsTestCase(SearxTestCase):
4343 def test_index_html(self, search):
4444 search.return_value = (
4545 self.test_results,
46+ set(),
47+ set(),
4648 set()
4749 )
4850 result = self.app.post('/', data={'q': 'test'})
@@ -51,7 +53,7 @@ class ViewsTestCase(SearxTestCase):
5153 result.data
5254 )
5355 self.assertIn(
54− '<p class="content">first <span class="highlight">test</span> content<br /></p>', # noqa
56+ '<p class="content">first <span class="highlight">test</span> content<br class="last"/></p>', # noqa
5557 result.data
5658 )
5759
@@ -59,6 +61,8 @@ class ViewsTestCase(SearxTestCase):
5961 def test_index_json(self, search):
6062 search.return_value = (
6163 self.test_results,
64+ set(),
65+ set(),
6266 set()
6367 )
6468 result = self.app.post('/', data={'q': 'test', 'format': 'json'})
@@ -75,6 +79,8 @@ class ViewsTestCase(SearxTestCase):
7579 def test_index_csv(self, search):
7680 search.return_value = (
7781 self.test_results,
82+ set(),
83+ set(),
7884 set()
7985 )
8086 result = self.app.post('/', data={'q': 'test', 'format': 'csv'})
@@ -90,6 +96,8 @@ class ViewsTestCase(SearxTestCase):
9096 def test_index_rss(self, search):
9197 search.return_value = (
9298 self.test_results,
99+ set(),
100+ set(),
93101 set()
94102 )
95103 result = self.app.post('/', data={'q': 'test', 'format': 'rss'})