This commit is contained in:
Markus Heiser
2025-02-01 17:05:47 +00:00
committed by GitHub
5 changed files with 228 additions and 0 deletions
+4
View File
@@ -182,6 +182,10 @@ class ViewsTestCase(SearxTestCase): # pylint: disable=too-many-public-methods
self.assertEqual(result.status_code, 200)
self.assertIn(b'<h1>Search syntax</h1>', result.data)
result = self.app.get('/info/en/privacy-policy')
self.assertEqual(result.status_code, 200)
self.assertIn(b'<h1>Privacy Policy</h1>', result.data)
def test_health(self):
result = self.client.get('/healthz')
self.assertEqual(result.status_code, 200)