aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-10-15 08:22:20 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-10-15 08:22:20 +0200
commite772692ffd727631e65be90948b7e8c422738a7b (patch)
tree662d9ebbc354555a73b7f3fd57defb62b853af61
parent8381a92120c3826b471e6d2cc38045b5f3a9d15e (diff)
Fix an import in the tests and the Youtube Shows test
-rw-r--r--test/test_write_annotations.py1
-rw-r--r--test/test_youtube_lists.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/test/test_write_annotations.py b/test/test_write_annotations.py
index 6f08808cd..35defb895 100644
--- a/test/test_write_annotations.py
+++ b/test/test_write_annotations.py
@@ -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):
diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py
index c1753b5bb..4b7a7847b 100644
--- a/test/test_youtube_lists.py
+++ b/test/test_youtube_lists.py
@@ -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()