mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 09:19:20 +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
|
@ -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"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue