Browse Source

[test/YoutubeDL] split in two classes

The name was misleading
totalwebcasting
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
f20bf146e2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      test/test_YoutubeDL.py

+ 2
- 0
test/test_YoutubeDL.py View File

@ -339,6 +339,8 @@ class TestFormatSelection(unittest.TestCase):
downloaded = ydl.downloaded_info_dicts[0]
self.assertEqual(downloaded['format_id'], 'G')
class TestYoutubeDL(unittest.TestCase):
def test_subtitles(self):
def s_formats(lang, autocaption=False):
return [{


Loading…
Cancel
Save