diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-10-31 07:55:03 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-10-31 07:55:03 +0100 |
commit | 0ef7ad5cd49d527a24c62e831cf80f2eb443276f (patch) | |
tree | 2ecb9af49c751fc2dc161ef3bf6312b13dfa286e | |
parent | 9f1109a56424d118263963062bc5185d8415835e (diff) |
Fix the test for dailymotion subtitles
The extractor returns a single info_dict now.
-rw-r--r-- | test/test_dailymotion_subtitles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_dailymotion_subtitles.py b/test/test_dailymotion_subtitles.py index c596415c4..ba3580ea4 100644 --- a/test/test_dailymotion_subtitles.py +++ b/test/test_dailymotion_subtitles.py @@ -22,7 +22,7 @@ class TestDailymotionSubtitles(unittest.TestCase): return info_dict def getSubtitles(self): info_dict = self.getInfoDict() - return info_dict[0]['subtitles'] + return info_dict['subtitles'] def test_no_writesubtitles(self): subtitles = self.getSubtitles() self.assertEqual(subtitles, None) |