mirror of
https://github.com/searxng/searxng.git
synced 2026-07-18 14:01:24 +00:00
[mod] info page: Privacy Policy
Initial creation of an info page on the topic "Privacy Policy". [1] https://github.com/searxng/searxng/issues/1285#issuecomment-1431497644 Suggested-by: @nicfab [1] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -189,6 +189,10 @@ class ViewsTestCase(SearxTestCase):
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user