[fix] cleanup: rename searx leftovers to SearXNG (#5049)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser
2025-07-26 06:22:46 +02:00
committed by GitHub
parent 02cbdf468b
commit 649a8dd577
19 changed files with 33 additions and 35 deletions

View File

@@ -1,6 +1,6 @@
general:
debug: false
instance_name: "searx"
instance_name: "SearXNG"
search:
safe_search: 0

View File

@@ -23,10 +23,10 @@ class TestUtils(SearxTestCase):
self.assertIsNotNone(utils.gen_useragent())
self.assertTrue(utils.gen_useragent().startswith('Mozilla'))
def test_searx_useragent(self):
self.assertIsInstance(utils.searx_useragent(), str)
self.assertIsNotNone(utils.searx_useragent())
self.assertTrue(utils.searx_useragent().startswith('searx'))
def test_searxng_useragent(self):
self.assertIsInstance(utils.searxng_useragent(), str)
self.assertIsNotNone(utils.searxng_useragent())
self.assertTrue(utils.searxng_useragent().startswith('SearXNG'))
def test_html_to_text(self):
html_str = """