From de5a8ee7d7186efdc1d54e602c5f807d87ebcfc2 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 12 Sep 2021 16:58:49 +0200 Subject: [PATCH] [fix] settings - displayed name is SearXNG Signed-off-by: Markus Heiser --- searx/settings.yml | 2 +- tests/unit/test_webapp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index 8e2aeb5e9..55d8603a5 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1,6 +1,6 @@ general: debug: false # Debug mode, only for development - instance_name: "searxng" # displayed name + instance_name: "SearXNG" # displayed name contact_url: false # mailto:contact@example.com brand: diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py index c5ec1ca97..69af9be35 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -99,7 +99,7 @@ class ViewsTestCase(SearxTestCase): def test_search_empty_html(self): result = self.app.post('/search', data={'q': ''}) self.assertEqual(result.status_code, 200) - self.assertIn(b'searxng', result.data) + self.assertIn(b'SearXNG', result.data) def test_search_empty_json(self): result = self.app.post('/search', data={'q': '', 'format': 'json'})