mirror of
https://github.com/searxng/searxng.git
synced 2025-07-14 08:49:19 +02:00
Fix anomalous backslash in string
This commit is contained in:
parent
3fd405dcd3
commit
b3ab221b98
21 changed files with 47 additions and 47 deletions
|
@ -28,7 +28,7 @@ class TestWolframAlphaNoAPIEngine(SearxTestCase):
|
|||
request = Request(headers={'Referer': referer_url})
|
||||
|
||||
# test failure
|
||||
json = '''
|
||||
json = r'''
|
||||
{"queryresult" : {
|
||||
"success" : false,
|
||||
"error" : false,
|
||||
|
@ -42,7 +42,7 @@ class TestWolframAlphaNoAPIEngine(SearxTestCase):
|
|||
self.assertEqual(wolframalpha_noapi.response(response), [])
|
||||
|
||||
# test basic case
|
||||
json = '''
|
||||
json = r'''
|
||||
{"queryresult" : {
|
||||
"success" : true,
|
||||
"error" : false,
|
||||
|
@ -143,7 +143,7 @@ class TestWolframAlphaNoAPIEngine(SearxTestCase):
|
|||
self.assertEqual('Wolfram|Alpha', results[1]['title'])
|
||||
|
||||
# test calc
|
||||
json = """
|
||||
json = r"""
|
||||
{"queryresult" : {
|
||||
"success" : true,
|
||||
"error" : false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue