0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-22 06:00:00 +00:00

Fix an import in the tests and the Youtube Shows test

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-10-15 08:22:20 +02:00
parent 8381a92120
commit e772692ffd
2 changed files with 1 additions and 2 deletions

View file

@ -17,7 +17,6 @@
import youtube_dl.YoutubeDL
import youtube_dl.extractor
from youtube_dl.utils import True
class YoutubeDL(youtube_dl.YoutubeDL):

View file

@ -106,7 +106,7 @@ def test_youtube_show(self):
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()