[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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 33 additions and 35 deletions

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 = """