Loading tests/unit/test_webapp.py +1 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ class ViewsTestCase(SearxTestCase): self.assertEqual(result.status_code, 400) def test_search_html(self): result = self.app.post('/search', data={'q': 'test'}) result = self.app.post('/search', data={'q': 'test', 'format': 'html'}) self.assertIn( b'<span class="url_o1"><span class="url_i1">http://second.test.xyz</span></span>', result.data, Loading Loading
tests/unit/test_webapp.py +1 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ class ViewsTestCase(SearxTestCase): self.assertEqual(result.status_code, 400) def test_search_html(self): result = self.app.post('/search', data={'q': 'test'}) result = self.app.post('/search', data={'q': 'test', 'format': 'html'}) self.assertIn( b'<span class="url_o1"><span class="url_i1">http://second.test.xyz</span></span>', result.data, Loading