mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 21:01:01 +00:00
[fix] settings - displayed name is SearXNG
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
823a2fc792
commit
de5a8ee7d7
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
general:
|
general:
|
||||||
debug: false # Debug mode, only for development
|
debug: false # Debug mode, only for development
|
||||||
instance_name: "searxng" # displayed name
|
instance_name: "SearXNG" # displayed name
|
||||||
contact_url: false # mailto:contact@example.com
|
contact_url: false # mailto:contact@example.com
|
||||||
|
|
||||||
brand:
|
brand:
|
||||||
|
|
|
@ -99,7 +99,7 @@ class ViewsTestCase(SearxTestCase):
|
||||||
def test_search_empty_html(self):
|
def test_search_empty_html(self):
|
||||||
result = self.app.post('/search', data={'q': ''})
|
result = self.app.post('/search', data={'q': ''})
|
||||||
self.assertEqual(result.status_code, 200)
|
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):
|
def test_search_empty_json(self):
|
||||||
result = self.app.post('/search', data={'q': '', 'format': 'json'})
|
result = self.app.post('/search', data={'q': '', 'format': 'json'})
|
||||||
|
|
Loading…
Reference in a new issue