]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[test/YoutubeDL] split in two classes
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 20 Mar 2015 14:14:25 +0000 (15:14 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 20 Mar 2015 14:14:25 +0000 (15:14 +0100)
The name was misleading

test/test_YoutubeDL.py

index db8a47d2d0d9e18f46e78b43068196efadc0f943..2597a1993bd65d33a120760736182e3ebccf17b8 100644 (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 [{