aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_youtube_lists.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-10-18 10:04:47 -0500
committerJesús <heckyel@hyperbola.info>2021-10-18 10:04:47 -0500
commitcabfc066cb929d5496d984a0fde895a059dc0648 (patch)
treecc0ab44a1c6113c6116fa15e809204f98cee1e73 /test/test_youtube_lists.py
parentd98d94032e3b45d4a1dc21404e2a520964aadedd (diff)
downloadhypervideo-pre-cabfc066cb929d5496d984a0fde895a059dc0648.tar.lz
hypervideo-pre-cabfc066cb929d5496d984a0fde895a059dc0648.tar.xz
hypervideo-pre-cabfc066cb929d5496d984a0fde895a059dc0648.zip
update from upstream
Diffstat (limited to 'test/test_youtube_lists.py')
-rw-r--r--test/test_youtube_lists.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py
index cf2fdf14f..e831393e4 100644
--- a/test/test_youtube_lists.py
+++ b/test/test_youtube_lists.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import unicode_literals
# Allow direct execution
@@ -7,16 +7,17 @@ import sys
import unittest
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
-from test.helper import FakeYDL
+from test.helper import FakeYDL, is_download_test
-from youtube_dl.extractor import (
+from yt_dlp.extractor import (
YoutubePlaylistIE,
YoutubeTabIE,
YoutubeIE,
)
+@is_download_test
class TestYoutubeLists(unittest.TestCase):
def assertIsPlaylist(self, info):
"""Make sure the info has '_type' set to 'playlist'"""