mirror of
https://github.com/searxng/searxng.git
synced 2025-07-14 00:39:18 +02:00
Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes
This commit is contained in:
parent
7888377743
commit
c225db45c8
20 changed files with 48 additions and 48 deletions
|
@ -30,9 +30,9 @@ class TestUtils(SearxTestCase):
|
|||
self.assertEqual(utils.highlight_content(content, None), content)
|
||||
|
||||
content = 'a'
|
||||
query = b'test'
|
||||
query = 'test'
|
||||
self.assertEqual(utils.highlight_content(content, query), content)
|
||||
query = b'a test'
|
||||
query = 'a test'
|
||||
self.assertEqual(utils.highlight_content(content, query), content)
|
||||
|
||||
def test_html_to_text(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue