This commit is contained in:
Markus Heiser 2025-01-14 15:56:12 +00:00 committed by GitHub
commit 364e87a68f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 228 additions and 0 deletions

View file

@ -199,6 +199,10 @@ class ViewsTestCase(SearxTestCase): # pylint: disable=missing-class-docstring,
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.app.get('/healthz')
self.assertEqual(result.status_code, 200)