Fix anomalous backslash in string

This commit is contained in:
stepshal 2016-07-11 20:29:47 +07:00
parent 3fd405dcd3
commit b3ab221b98
21 changed files with 47 additions and 47 deletions

View file

@ -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,