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
9fc7c73b
Commit
9fc7c73b
authored
Dec 08, 2015
by
Syed Hasan raza
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10854 from edx/shr/impr/TNL-3076-Tests-improvement
Course_key naming convention
parents
dbb1887c
9ff080f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
common/lib/xmodule/xmodule/tests/test_video.py
+4
-4
No files found.
common/lib/xmodule/xmodule/tests/test_video.py
View file @
9fc7c73b
...
...
@@ -317,9 +317,9 @@ class VideoDescriptorImportTestCase(unittest.TestCase):
})
@ddt.data
(
(
'course-v1:test_
course+test_org
+test_run'
,
'/asset-v1:test_
course+test_org
+test_run+type@asset+block@test.png'
),
(
'test_
course/test_org/test_run'
,
'/c4x/test_course/test_org
/asset/test.png'
)
(
'course-v1:test_
org+test_course
+test_run'
,
'/asset-v1:test_
org+test_course
+test_run+type@asset+block@test.png'
),
(
'test_
org/test_course/test_run'
,
'/c4x/test_org/test_course
/asset/test.png'
)
)
@ddt.unpack
def
test_from_xml_when_handout_is_course_asset
(
self
,
course_id_string
,
expected_handout_link
):
...
...
@@ -338,7 +338,7 @@ class VideoDescriptorImportTestCase(unittest.TestCase):
end_time="00:01:00">
<source src="http://www.example.com/source.mp4"/>
<track src="http://www.example.com/track"/>
<handout src="/asset-v1:test_
course_1+test_org
_1+test_run_1+type@asset+block@test.png"/>
<handout src="/asset-v1:test_
org_1+test_course
_1+test_run_1+type@asset+block@test.png"/>
<transcript language="uk" src="ukrainian_translation.srt" />
<transcript language="de" src="german_translation.srt" />
</video>
...
...
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