about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-12-26 19:59:57 +0700
committerSergey M․ <dstftw@gmail.com>2020-12-26 19:59:57 +0700
commitaf1312bfc38b8dd3ba9381e9d7a58206870651a5 (patch)
treeb7c64df26a4199ea3e46e6c49684617fc3c61546 /test
parent4c7d7215cd069bd15239d5a43ecb764e60a49ce7 (diff)
downloadyoutube-dl-af1312bfc38b8dd3ba9381e9d7a58206870651a5.tar.gz
youtube-dl-af1312bfc38b8dd3ba9381e9d7a58206870651a5.tar.xz
youtube-dl-af1312bfc38b8dd3ba9381e9d7a58206870651a5.zip
[youtube:tab] Extend _VALID_URL (closes #27501)
Diffstat (limited to 'test')
-rw-r--r--test/test_all_urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_all_urls.py b/test/test_all_urls.py
index 50c3466fa..df6d81b5d 100644
--- a/test/test_all_urls.py
+++ b/test/test_all_urls.py
@@ -36,7 +36,7 @@ class TestAllURLsMatching(unittest.TestCase):
         assertPlaylist('UUBABnxM4Ar9ten8Mdjj1j0Q')  # 585
         assertPlaylist('PL63F0C78739B09958')
         assertTab('https://www.youtube.com/playlist?list=UUBABnxM4Ar9ten8Mdjj1j0Q')
-        assertPlaylist('https://www.youtube.com/course?list=ECUl4u3cNGP61MdtwGTqZA0MreSaDybji8')
+        assertTab('https://www.youtube.com/course?list=ECUl4u3cNGP61MdtwGTqZA0MreSaDybji8')
         assertTab('https://www.youtube.com/playlist?list=PLwP_SiAcdui0KVebT0mU9Apz359a4ubsC')
         assertTab('https://www.youtube.com/watch?v=AV6J6_AeFEQ&playnext=1&list=PL4023E734DA416012')  # 668
         self.assertFalse('youtube:playlist' in self.matching_ies('PLtS2H6bU1M'))
@@ -57,8 +57,8 @@ class TestAllURLsMatching(unittest.TestCase):
         assertChannel('https://www.youtube.com/channel/HCtnHdj3df7iM?feature=gb_ch_rec')
         assertChannel('https://www.youtube.com/channel/HCtnHdj3df7iM/videos')
 
-    # def test_youtube_user_matching(self):
-    #     self.assertMatch('http://www.youtube.com/NASAgovVideo/videos', ['youtube:tab'])
+    def test_youtube_user_matching(self):
+        self.assertMatch('http://www.youtube.com/NASAgovVideo/videos', ['youtube:tab'])
 
     def test_youtube_feeds(self):
         self.assertMatch('https://www.youtube.com/feed/library', ['youtube:tab'])