Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
ea17979d
Unverified
Commit
ea17979d
authored
Feb 29, 2020
by
Sergey M․
Browse files
[test_subtitles] Remove obsolete test
parent
886d9859
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
test/test_subtitles.py
test/test_subtitles.py
+0
-13
No files found.
test/test_subtitles.py
View file @
ea17979d
...
...
@@ -26,7 +26,6 @@ from youtube_dl.extractor import (
ThePlatformIE
,
ThePlatformFeedIE
,
RTVEALaCartaIE
,
FunnyOrDieIE
,
DemocracynowIE
,
)
...
...
@@ -322,18 +321,6 @@ class TestRtveSubtitles(BaseTestSubtitles):
self
.
assertEqual
(
md5
(
subtitles
[
'es'
]),
'69e70cae2d40574fb7316f31d6eb7fca'
)
class
TestFunnyOrDieSubtitles
(
BaseTestSubtitles
):
url
=
'http://www.funnyordie.com/videos/224829ff6d/judd-apatow-will-direct-your-vine'
IE
=
FunnyOrDieIE
def
test_allsubtitles
(
self
):
self
.
DL
.
params
[
'writesubtitles'
]
=
True
self
.
DL
.
params
[
'allsubtitles'
]
=
True
subtitles
=
self
.
getSubtitles
()
self
.
assertEqual
(
set
(
subtitles
.
keys
()),
set
([
'en'
]))
self
.
assertEqual
(
md5
(
subtitles
[
'en'
]),
'c5593c193eacd353596c11c2d4f9ecc4'
)
class
TestDemocracynowSubtitles
(
BaseTestSubtitles
):
url
=
'http://www.democracynow.org/shows/2015/7/3'
IE
=
DemocracynowIE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment