Commit 5fa4ee83 by muhammad-ammar

fix

parent 193bce30
......@@ -21,7 +21,6 @@ from xmodule.modulestore import ModuleStoreEnum
from xmodule.modulestore.django import modulestore
from xmodule.video_module.transcripts_utils import (
Transcript,
TranscriptException,
TranscriptsGenerationException,
get_video_transcript_content
)
......@@ -930,7 +929,6 @@ class TestStudioTranscriptTranslationPostDispatch(TestVideo):
)
self.assertIn(expected_transcript_content.decode('utf-8').strip(), uploaded_transcript_content.strip())
def test_studio_transcript_post(self):
# Check for exceptons:
......
......@@ -591,6 +591,19 @@ ACTIVATION_EMAIL_FROM_ADDRESS = 'test_activate@edx.org'
TEMPLATES[0]['OPTIONS']['debug'] = True
########################### Video Transcript #################################
VIDEO_TRANSCRIPTS_SETTINGS = dict(
VIDEO_TRANSCRIPTS_MAX_BYTES=3 * 1024 * 1024, # 3 MB
# Backend storage
# STORAGE_CLASS='storages.backends.s3boto.S3BotoStorage',
# STORAGE_KWARGS=dict(bucket='video-transcripts-bucket'),
STORAGE_KWARGS=dict(
location=MEDIA_ROOT,
base_url=MEDIA_URL,
),
DIRECTORY_PREFIX='video-transcripts/',
)
########################## Derive Any Derived Settings #######################
derive_settings(__name__)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment