summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-09-12 16:58:49 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-09-13 14:36:24 +0200
commitde5a8ee7d7186efdc1d54e602c5f807d87ebcfc2 (patch)
tree907a82c5dba2aa21c0548f882602fcf29a4b2776
parent823a2fc7926441ba4375d74340a7ab08ac85ef9d (diff)
downloadsearxng-de5a8ee7d7186efdc1d54e602c5f807d87ebcfc2.tar.gz
searxng-de5a8ee7d7186efdc1d54e602c5f807d87ebcfc2.zip
[fix] settings - displayed name is SearXNG
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--searx/settings.yml2
-rw-r--r--tests/unit/test_webapp.py2
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'<span class="instance pull-left"><a href="/">searxng</a></span>', result.data)
+ self.assertIn(b'<span class="instance pull-left"><a href="/">SearXNG</a></span>', result.data)
def test_search_empty_json(self):
result = self.app.post('/search', data={'q': '', 'format': 'json'})