aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_subtitles.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-02-16 21:44:17 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-02-16 22:47:39 +0100
commit360e1ca5ccabcb5d48228d9472b09f1bce68bbc4 (patch)
treeb97ea029201d0a74f2574ed7aa9e81bb9a022d4b /test/test_subtitles.py
parenta1f2a06b34807a2e1b5eb5176fa418da2405392d (diff)
downloadyoutube-dl-360e1ca5ccabcb5d48228d9472b09f1bce68bbc4.zip
youtube-dl-360e1ca5ccabcb5d48228d9472b09f1bce68bbc4.tar.gz
youtube-dl-360e1ca5ccabcb5d48228d9472b09f1bce68bbc4.tar.bz2
[youtube] Convert to new subtitles system
The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
Diffstat (limited to 'test/test_subtitles.py')
-rw-r--r--test/test_subtitles.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/test_subtitles.py b/test/test_subtitles.py
index 84ae0e7..91cebce 100644
--- a/test/test_subtitles.py
+++ b/test/test_subtitles.py
@@ -50,11 +50,6 @@ class TestYoutubeSubtitles(BaseTestSubtitles):
url = 'QRS8MkLhQmM'
IE = YoutubeIE
- def test_youtube_no_writesubtitles(self):
- self.DL.params['writesubtitles'] = False
- subtitles = self.getSubtitles()
- self.assertEqual(subtitles, None)
-
def test_youtube_subtitles(self):
self.DL.params['writesubtitles'] = True
subtitles = self.getSubtitles()