aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_youtube_signature.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_youtube_signature.py')
-rw-r--r--test/test_youtube_signature.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py
index 627d4cb92..dcf6ab60d 100644
--- a/test/test_youtube_signature.py
+++ b/test/test_youtube_signature.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import unicode_literals
@@ -12,9 +12,9 @@ import io
import re
import string
-from test.helper import FakeYDL
-from youtube_dl.extractor import YoutubeIE
-from youtube_dl.compat import compat_str, compat_urlretrieve
+from test.helper import FakeYDL, is_download_test
+from yt_dlp.extractor import YoutubeIE
+from yt_dlp.compat import compat_str, compat_urlretrieve
_TESTS = [
(
@@ -65,6 +65,7 @@ _TESTS = [
]
+@is_download_test
class TestPlayerInfo(unittest.TestCase):
def test_youtube_extract_player_info(self):
PLAYER_URLS = (
@@ -87,6 +88,7 @@ class TestPlayerInfo(unittest.TestCase):
self.assertEqual(player_id, expected_player_id)
+@is_download_test
class TestSignature(unittest.TestCase):
def setUp(self):
TEST_DIR = os.path.dirname(os.path.abspath(__file__))