Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
5fa4ee83
Commit
5fa4ee83
authored
Nov 30, 2017
by
muhammad-ammar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
193bce30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
lms/djangoapps/courseware/tests/test_video_handlers.py
+0
-2
lms/envs/test.py
+13
-0
No files found.
lms/djangoapps/courseware/tests/test_video_handlers.py
View file @
5fa4ee83
...
...
@@ -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:
...
...
lms/envs/test.py
View file @
5fa4ee83
...
...
@@ -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__
)
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