summaryrefslogtreecommitdiffhomepage
path: root/test/test_subtitles.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2015-02-16 21:44:17 +0100
committerJaime Marquínez Ferrándiz <[email protected]>2015-02-16 22:47:39 +0100
commit360e1ca5ccabcb5d48228d9472b09f1bce68bbc4 (patch)
treeb97ea029201d0a74f2574ed7aa9e81bb9a022d4b /test/test_subtitles.py
parenta1f2a06b34807a2e1b5eb5176fa418da2405392d (diff)
downloadyoutube-dl-360e1ca5ccabcb5d48228d9472b09f1bce68bbc4.tar.gz
youtube-dl-360e1ca5ccabcb5d48228d9472b09f1bce68bbc4.zip
[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 84ae0e714..91cebce28 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()