projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1b3feca
)
[test_subtitles] Fix raiplay test
author
Sergey M․
<dstftw@gmail.com>
Sat, 8 Apr 2017 07:11:20 +0000
(14:11 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 8 Apr 2017 07:11:20 +0000
(14:11 +0700)
test/test_subtitles.py
patch
|
blob
|
history
diff --git
a/test/test_subtitles.py
b/test/test_subtitles.py
index 27e763edd0ec13c19fb97baebd18c6d1020a913c..1b8de822a8b5c95e836b954633cdd90318c97da9 100644
(file)
--- a/
test/test_subtitles.py
+++ b/
test/test_subtitles.py
@@
-21,7
+21,7
@@
from youtube_dl.extractor import (
NPOIE,
ComedyCentralIE,
NRKTVIE,
NPOIE,
ComedyCentralIE,
NRKTVIE,
- Rai
TV
IE,
+ Rai
Play
IE,
VikiIE,
ThePlatformIE,
ThePlatformFeedIE,
VikiIE,
ThePlatformIE,
ThePlatformFeedIE,
@@
-258,9
+258,9
@@
class TestNRKSubtitles(BaseTestSubtitles):
self.assertEqual(md5(subtitles['no']), '544fa917d3197fcbee64634559221cc2')
self.assertEqual(md5(subtitles['no']), '544fa917d3197fcbee64634559221cc2')
-class TestRaiSubtitles(BaseTestSubtitles):
- url = 'http://www.rai
.tv/dl/RaiTV/programmi/media/ContentItem
-cb27157f-9dd0-4aee-b788-b1f67643a391.html'
- IE = Rai
TV
IE
+class TestRai
Play
Subtitles(BaseTestSubtitles):
+ url = 'http://www.rai
play.it/video/2014/04/Report-del-07042014
-cb27157f-9dd0-4aee-b788-b1f67643a391.html'
+ IE = Rai
Play
IE
def test_allsubtitles(self):
self.DL.params['writesubtitles'] = True
def test_allsubtitles(self):
self.DL.params['writesubtitles'] = True