File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,6 +156,11 @@ def test_subtitles_download(self):
156156 in a deterministic way. We'll have to improve that'''
157157 try :
158158 subtitles = get_subtitles ("/usr/src/app/Videos/folder1/The.Big.Bang.Theory.S05E19.HDTV.x264-LOL.mp4" , True )
159+ self .assertEqual (os .path .isfile ("/usr/src/app/Videos/folder1/The.Big.Bang.Theory.S05E19.HDTV.x264-LOL.en.vtt" ), True )
160+ self .assertEqual (os .path .isfile ("/usr/src/app/Videos/folder1/The.Big.Bang.Theory.S05E19.HDTV.x264-LOL.fr.vtt" ), True )
161+ os .remove ("/usr/src/app/Videos/folder1/The.Big.Bang.Theory.S05E19.HDTV.x264-LOL.en.vtt" )
162+ os .remove ("/usr/src/app/Videos/folder1/The.Big.Bang.Theory.S05E19.HDTV.x264-LOL.fr.vtt" )
163+ os .remove ("/usr/src/app/Videos/folder1/The.Big.Bang.Theory.S05E19.HDTV.x264-LOL_ov.vtt" )
159164 except ExceptionType :
160165 self .fail ("get_subtitles raised ExceptionType unexpectedly!" )
161166
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ psycopg2-binary==2.7.5
44dj-database-url == 0.4.1
55ipython == 5.3.0
66ffmpeg-python == 0.1.17
7- subliminal == 2.0.5
7+ subliminal == 2.1.0
88gunicorn == 19.9.0
99django-cors-headers == 3.0.2
1010djangorestframework == 3.11.0
You can’t perform that action at this time.
0 commit comments