[test/YoutubeDL] split in two classes

The name was misleading
pull/5246/head
Jaime Marquínez Ferrándiz 2015-03-20 15:14:25 +01:00
rodzic 01218f919b
commit f20bf146e2
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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 [{