Browse Source

remove unicode characters

woorst 7 years ago
parent
commit
636b760196
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tests/unit/engines/test_genius.py

+ 2
- 2
tests/unit/engines/test_genius.py View File

94
                     "_type": "song",
94
                     "_type": "song",
95
                     "annotation_count": 45,
95
                     "annotation_count": 45,
96
                     "api_path": "/songs/52916",
96
                     "api_path": "/songs/52916",
97
-                    "full_title": "J't'emmerde by MC Jean Gab'1",
97
+                    "full_title": "J't'emmerde by MC Jean Gab'1",
98
                     "header_image_thumbnail_url": "https://images.genius.com/xxx.300x300x1.jpg",
98
                     "header_image_thumbnail_url": "https://images.genius.com/xxx.300x300x1.jpg",
99
                     "header_image_url": "https://images.genius.com/ef9f736a86df3c3b1772f3fb7fbdb21c.1000x1000x1.jpg",
99
                     "header_image_url": "https://images.genius.com/ef9f736a86df3c3b1772f3fb7fbdb21c.1000x1000x1.jpg",
100
                     "id": 52916,
100
                     "id": 52916,
207
         # check lyric parsing
207
         # check lyric parsing
208
         r = results[0]
208
         r = results[0]
209
         self.assertEqual(r['url'], 'https://genius.com/Mc-jean-gab1-jtemmerde-lyrics')
209
         self.assertEqual(r['url'], 'https://genius.com/Mc-jean-gab1-jtemmerde-lyrics')
210
-        self.assertEqual(r['title'], "J't'emmerde by MC Jean Gab'1")
210
+        self.assertEqual(r['title'], "J't'emmerde by MC Jean Gab'1")
211
         self.assertEqual(r['content'], "Sample lyrics")
211
         self.assertEqual(r['content'], "Sample lyrics")
212
         self.assertEqual(r['template'], 'videos.html')
212
         self.assertEqual(r['template'], 'videos.html')
213
         self.assertEqual(r['thumbnail'], 'https://images.genius.com/xxx.300x300x1.jpg')
213
         self.assertEqual(r['thumbnail'], 'https://images.genius.com/xxx.300x300x1.jpg')