diff options
author | dirkf <fieldhouse@gmx.net> | 2022-06-08 15:52:21 +0100 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2022-06-08 15:52:21 +0100 |
commit | ef044be34bb64c489558dd07818616b514d2e2ad (patch) | |
tree | 94762e0dde2550c10b900827b03883ccfb415154 /test/test_subtitles.py | |
parent | 530f4582d011cd94986cf4d233f9fb9263f72150 (diff) |
[test] Skip not _WORKING IE in subtitle tests; use unittest.skipTest throughout
Diffstat (limited to 'test/test_subtitles.py')
-rw-r--r-- | test/test_subtitles.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_subtitles.py b/test/test_subtitles.py index 550e0ca00..c250473be 100644 --- a/test/test_subtitles.py +++ b/test/test_subtitles.py @@ -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) |