mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-31 17:44:26 -05:00
[test] Skip not _WORKING IE in subtitle tests; use unittest.skipTest throughout
This commit is contained in:
@@ -38,6 +38,9 @@ class BaseTestSubtitles(unittest.TestCase):
|
||||
self.DL = FakeYDL()
|
||||
self.ie = self.IE()
|
||||
self.DL.add_info_extractor(self.ie)
|
||||
if not self.IE.working():
|
||||
print('Skipping: %s marked as not _WORKING' % self.IE.ie_key())
|
||||
self.skipTest('IE marked as not _WORKING')
|
||||
|
||||
def getInfoDict(self):
|
||||
info_dict = self.DL.extract_info(self.url, download=False)
|
||||
|
Reference in New Issue
Block a user