diff options
author | stepshal <nessento@openmailbox.org> | 2016-07-11 20:29:47 +0700 |
---|---|---|
committer | stepshal <nessento@openmailbox.org> | 2016-07-11 23:53:13 +0700 |
commit | b3ab221b9808ba2b7b01d417210af9b9527e661c (patch) | |
tree | 6ee035fb32906228376d9473e8524e8ed2be745a /tests/unit/engines/test_deezer.py | |
parent | 3fd405dcd3fd46d5b6f2fe1df625eedf0f1fbe02 (diff) | |
download | searxng-b3ab221b9808ba2b7b01d417210af9b9527e661c.tar.gz searxng-b3ab221b9808ba2b7b01d417210af9b9527e661c.zip |
Fix anomalous backslash in string
Diffstat (limited to 'tests/unit/engines/test_deezer.py')
-rw-r--r-- | tests/unit/engines/test_deezer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/engines/test_deezer.py b/tests/unit/engines/test_deezer.py index ad09d2a2c..cfef852af 100644 --- a/tests/unit/engines/test_deezer.py +++ b/tests/unit/engines/test_deezer.py @@ -27,7 +27,7 @@ class TestDeezerEngine(SearxTestCase): response = mock.Mock(text='{"data": []}') self.assertEqual(deezer.response(response), []) - json = """ + json = r""" {"data":[ {"id":100, "title":"Title of track", "link":"https:\/\/www.deezer.com\/track\/1094042","duration":232, @@ -45,7 +45,7 @@ class TestDeezerEngine(SearxTestCase): self.assertEqual(results[0]['content'], 'Artist Name • Album Title • Title of track') self.assertTrue('100' in results[0]['embedded']) - json = """ + json = r""" {"data":[ {"id":200,"name":"Artist Name", "link":"https:\/\/www.deezer.com\/artist\/1217","type":"artist"} |