summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-01-31 11:24:45 +0100
committerMartin Fischer <martin@push-f.com>2022-02-01 06:28:26 +0100
commitfb9eedbf40410a5558bfc03b4c50f7ff41b023b4 (patch)
tree1b722cca8af208f9e267cd3b1e18fc26a89cc759 /tests
parentb93711b45da7e8d851be5a3d55ebf6fbe5423efd (diff)
[enh] introduce /help route
Translation will be implemented in the future. For now the "en" in /help/en/<pagename> is hardcoded.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py
index 60d59ccf..cd947213 100644
--- a/tests/unit/test_webapp.py
+++ b/tests/unit/test_webapp.py
@@ -174,7 +174,7 @@ class ViewsTestCase(SearxTestCase):
self.assertIn(b'<description>first test content</description>', result.data)
def test_about(self):
- result = self.app.get('/about')
+ result = self.app.get('/help/en/about')
self.assertEqual(result.status_code, 200)
self.assertIn(b'<h1>About SearXNG</h1>', result.data)