summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_arxiv.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2019-08-05 15:57:33 +0200
committerGitHub <noreply@github.com>2019-08-05 15:57:33 +0200
commit12f891da8496fad1f1fa24eeb52b1b19f03f8678 (patch)
treefe054e6a10efe9496419fbcd7b3d8a918be52a17 /tests/unit/engines/test_arxiv.py
parent91a59ff3502803611953820e2923348440f807d0 (diff)
parent1cee2c1796f50b2646c8dee0fcc5e9df754c9246 (diff)
Merge pull request #1669 from dalf/engine-fixes
Engine fixes
Diffstat (limited to 'tests/unit/engines/test_arxiv.py')
-rw-r--r--tests/unit/engines/test_arxiv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/engines/test_arxiv.py b/tests/unit/engines/test_arxiv.py
index b32c0e605..83c4f8595 100644
--- a/tests/unit/engines/test_arxiv.py
+++ b/tests/unit/engines/test_arxiv.py
@@ -8,7 +8,7 @@ from searx.testing import SearxTestCase
class TestBaseEngine(SearxTestCase):
def test_request(self):
- query = 'test_query'
+ query = 'test_query'.encode('utf-8')
dicto = defaultdict(dict)
dicto['pageno'] = 1
params = arxiv.request(query, dicto)