Skip to content

Commit b0692d0

Browse files
bump subliminal to 2.1.0
1 parent 23a8131 commit b0692d0

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

backend/StreamServerApp/tests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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

backend/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ psycopg2-binary==2.7.5
44
dj-database-url==0.4.1
55
ipython==5.3.0
66
ffmpeg-python==0.1.17
7-
subliminal==2.0.5
7+
subliminal==2.1.0
88
gunicorn==19.9.0
99
django-cors-headers==3.0.2
1010
djangorestframework==3.11.0

0 commit comments

Comments
 (0)