This repository has been archived by the owner on Jan 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #834 from mitodl/fix/gs/use_display_name
Added parsing for display_name so we can use it if url_name isn't present
- Loading branch information
Showing
13 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
learningresources/tests/testdata/courses/nested_problem/about/overview.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hello overview |
4 changes: 4 additions & 0 deletions
4
learningresources/tests/testdata/courses/nested_problem/chapter/Intro_chapter.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<chapter display_name="Intro"> | ||
<sequential url_name="a sequential" /> | ||
<!-- a comment --> | ||
</chapter> |
1 change: 1 addition & 0 deletions
1
learningresources/tests/testdata/courses/nested_problem/course.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<course url_name="2013_Spring" org="MITx" course="mitx.01"/> |
3 changes: 3 additions & 0 deletions
3
learningresources/tests/testdata/courses/nested_problem/course/2013_Spring.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<course semester="2013_Spring" course="mitx.01" org="MITx"> | ||
<chapter url_name="Intro_chapter"/> | ||
</course> |
3 changes: 3 additions & 0 deletions
3
learningresources/tests/testdata/courses/nested_problem/html/Overview_text_html.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<html display_name="Overview text"> | ||
hello world | ||
</html> |
1 change: 1 addition & 0 deletions
1
...gresources/tests/testdata/courses/nested_problem/policies/2013_Spring/grading_policy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
y:2 |
1 change: 1 addition & 0 deletions
1
learningresources/tests/testdata/courses/nested_problem/policies/2013_Spring/policy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
x:1 |
3 changes: 3 additions & 0 deletions
3
learningresources/tests/testdata/courses/nested_problem/problem/problem_2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<problem> | ||
<p>Problem #2</p> | ||
</problem> |
4 changes: 4 additions & 0 deletions
4
learningresources/tests/testdata/courses/nested_problem/sequential/a sequential.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<sequential> | ||
<vertical url_name="vertical_1" /> | ||
<vertical url_name="vertical_2" /> | ||
</sequential> |
1 change: 1 addition & 0 deletions
1
learningresources/tests/testdata/courses/nested_problem/vertical/vertical_1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<vertical /> |
8 changes: 8 additions & 0 deletions
8
learningresources/tests/testdata/courses/nested_problem/vertical/vertical_2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<vertical> | ||
<problem display_name="problem_1"> | ||
<problem display_name="inner_problem"> | ||
<p>Problem #1</p> | ||
</problem> | ||
</problem> | ||
<problem url_name="problem_2"/> | ||
</vertical> |