summaryrefslogtreecommitdiff
path: root/tests/unit/test_utils.py
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2020-08-11 16:25:03 +0200
committerAlexandre Flament <alex@al-f.net>2020-09-10 10:49:42 +0200
commitc225db45c8a4ab466bff049216f7e0189dc1b067 (patch)
tree16be3299a6faf15538fc1f2cf181aadc422039fd /tests/unit/test_utils.py
parent78883777438fc07833d983c50d9b131eb6feb9eb (diff)
downloadsearxng-c225db45c8a4ab466bff049216f7e0189dc1b067.tar.gz
searxng-c225db45c8a4ab466bff049216f7e0189dc1b067.zip
Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes
Diffstat (limited to 'tests/unit/test_utils.py')
-rw-r--r--tests/unit/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py
index f7fc7c0e4..5f98511c3 100644
--- a/tests/unit/test_utils.py
+++ b/tests/unit/test_utils.py
@@ -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):