From fb9eedbf40410a5558bfc03b4c50f7ff41b023b4 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 31 Jan 2022 11:24:45 +0100 Subject: [enh] introduce /help route Translation will be implemented in the future. For now the "en" in /help/en/ is hardcoded. --- tests/unit/test_webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/test_webapp.py') diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py index 60d59ccf8..cd9472135 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -174,7 +174,7 @@ class ViewsTestCase(SearxTestCase): self.assertIn(b'first test content', 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'

About SearXNG

', result.data) -- cgit v1.2.3