aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_write_annotations.py
diff options
context:
space:
mode:
authorUnknown <blackjack4494@web.de>2020-09-02 20:25:25 +0200
committerUnknown <blackjack4494@web.de>2020-09-02 20:25:25 +0200
commitcefecac12cd3c70f9c7a30992c60b05c2eb5d34e (patch)
treef7b8e3f8ca2f6e402c83a501f72c09854ae04887 /test/test_write_annotations.py
parent9688f237163b6aa546fde00bb3fd1e3445dd4c31 (diff)
downloadhypervideo-pre-cefecac12cd3c70f9c7a30992c60b05c2eb5d34e.tar.lz
hypervideo-pre-cefecac12cd3c70f9c7a30992c60b05c2eb5d34e.tar.xz
hypervideo-pre-cefecac12cd3c70f9c7a30992c60b05c2eb5d34e.zip
[skip travis] renaming
to avoid using same folder when using pip install for example
Diffstat (limited to 'test/test_write_annotations.py')
-rw-r--r--test/test_write_annotations.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_write_annotations.py b/test/test_write_annotations.py
index 41abdfe3b..d98c96c15 100644
--- a/test/test_write_annotations.py
+++ b/test/test_write_annotations.py
@@ -15,11 +15,11 @@ import io
import xml.etree.ElementTree
-import youtube_dl.YoutubeDL
-import youtube_dl.extractor
+import youtube_dlc.YoutubeDL
+import youtube_dlc.extractor
-class YoutubeDL(youtube_dl.YoutubeDL):
+class YoutubeDL(youtube_dlc.YoutubeDL):
def __init__(self, *args, **kwargs):
super(YoutubeDL, self).__init__(*args, **kwargs)
self.to_stderr = self.to_screen
@@ -45,7 +45,7 @@ class TestAnnotations(unittest.TestCase):
def test_info_json(self):
expected = list(EXPECTED_ANNOTATIONS) # Two annotations could have the same text.
- ie = youtube_dl.extractor.YoutubeIE()
+ ie = youtube_dlc.extractor.YoutubeIE()
ydl = YoutubeDL(params)
ydl.add_info_extractor(ie)
ydl.download([TEST_ID])