]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Fix an import in the tests and the Youtube Shows test
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 15 Oct 2013 06:22:20 +0000 (08:22 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 15 Oct 2013 06:22:20 +0000 (08:22 +0200)
test/test_write_annotations.py
test/test_youtube_lists.py

index 6f08808cd8877423c8277f935e2f8ed2d837ad78..35defb8953402a74ff71b7a9a14cec105a5f1703 100644 (file)
@@ -17,7 +17,6 @@ import xml.etree.ElementTree
 
 import youtube_dl.YoutubeDL
 import youtube_dl.extractor
-from youtube_dl.utils import True
 
 
 class YoutubeDL(youtube_dl.YoutubeDL):
index c1753b5bb199aa0d90ae61402ba2621f662c2adc..4b7a7847bd3a33a9a2bff3e99f9f4cff0de7eebf 100644 (file)
@@ -106,7 +106,7 @@ class TestYoutubeLists(unittest.TestCase):
         dl = FakeYDL()
         ie = YoutubeShowIE(dl)
         result = ie.extract('http://www.youtube.com/show/airdisasters')
-        self.assertTrue(len(result) >= 4)
+        self.assertTrue(len(result) >= 3)
 
 if __name__ == '__main__':
     unittest.main()