Browse Source

Fix an import in the tests and the Youtube Shows test

rtmp_test
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
e772692ffd
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      test/test_write_annotations.py
  2. +1
    -1
      test/test_youtube_lists.py

+ 0
- 1
test/test_write_annotations.py View 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):


+ 1
- 1
test/test_youtube_lists.py View 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()

Loading…
Cancel
Save