summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_wolframalpha_noapi.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-07-18 22:27:17 +0200
committerGitHub <noreply@github.com>2016-07-18 22:27:17 +0200
commitaa09f963eb8220f866334779f61741da8926fcf2 (patch)
tree37b9c3658374d6b8499be7713c8dc52c66e0be72 /tests/unit/engines/test_wolframalpha_noapi.py
parent21c5fb1c4514444a7c4fdecd84874f2b7c367f38 (diff)
parentb3ab221b9808ba2b7b01d417210af9b9527e661c (diff)
Merge pull request #621 from stepshal/anomalous-backslash-in-string
Fix anomalous backslash in string
Diffstat (limited to 'tests/unit/engines/test_wolframalpha_noapi.py')
-rw-r--r--tests/unit/engines/test_wolframalpha_noapi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/engines/test_wolframalpha_noapi.py b/tests/unit/engines/test_wolframalpha_noapi.py
index 068c1be79..a8f73470e 100644
--- a/tests/unit/engines/test_wolframalpha_noapi.py
+++ b/tests/unit/engines/test_wolframalpha_noapi.py
@@ -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,