mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-20 13:24:16 -07:00
[test] Skip not _WORKING IE in subtitle tests; use unittest.skipTest throughout
This commit is contained in:
parent
530f4582d0
commit
ef044be34b
2 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue