mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 04:00:02 +00:00
Fix anomalous backslash in string
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user