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
5d300bf3
Commit
5d300bf3
authored
Jul 11, 2013
by
JonahStanley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the broken unit tests from deleting full
parent
4e015eac
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
34 deletions
+0
-34
cms/djangoapps/contentstore/tests/test_contentstore.py
+0
-7
common/test/data/toy/chapter/html_container.xml
+0
-2
common/test/data/toy/course/2012_Fall.xml
+0
-1
common/test/data/toy/html/toylab.html
+0
-13
common/test/data/toy/html/toylab.xml
+0
-2
common/test/data/toy/vertical/vertical_test.xml
+0
-9
No files found.
cms/djangoapps/contentstore/tests/test_contentstore.py
View file @
5d300bf3
...
...
@@ -359,13 +359,6 @@ class ContentStoreToyCourseTest(ModuleStoreTestCase):
direct_store
=
modulestore
(
'direct'
)
import_from_xml
(
direct_store
,
'common/test/data/'
,
[
'toy'
])
html_module_location
=
Location
([
'i4x'
,
'edX'
,
'toy'
,
'html'
,
'toylab'
,
None
])
url
=
reverse
(
'preview_component'
,
kwargs
=
{
'location'
:
html_module_location
.
url
()})
resp
=
self
.
client
.
get
(
url
)
self
.
assertEqual
(
resp
.
status_code
,
200
)
# also try a custom response which will trigger the 'is this course in whitelist' logic
problem_module_location
=
Location
([
'i4x'
,
'edX'
,
'toy'
,
'vertical'
,
'vertical_test'
,
None
])
url
=
reverse
(
'preview_component'
,
kwargs
=
{
'location'
:
problem_module_location
.
url
()})
...
...
common/test/data/toy/chapter/html_container.xml
deleted
100644 → 0
View file @
4e015eac
<sequential><html
filename=
"toylab.html"
slug=
"toylab"
format=
"Tutorial Index"
graceperiod=
"1 day 12 hours 59 minutes 59 seconds"
showanswer=
"attempted"
rerandomize=
"never"
name=
"Toy Lab"
/></sequential>
\ No newline at end of file
common/test/data/toy/course/2012_Fall.xml
View file @
5d300bf3
...
...
@@ -13,5 +13,4 @@
<chapter
url_name=
"poll_test"
/>
<chapter
url_name=
"vertical_container"
/>
<chapter
url_name=
"handout_container"
/>
<chapter
url_name=
"html_container"
/>
</course>
common/test/data/toy/html/toylab.html
deleted
100644 → 0
View file @
4e015eac
<b>
Lab 2A: Superposition Experiment
</b>
<
<<<<<<
Updated
upstream
<
p
>
Isn't the toy course great?
</p>
<p>
Let's add some markup that uses non-ascii characters.
For example, we should be able to write words like encyclop
æ
dia, or foreign words like fran
ç
ais.
Looking beyond latin-1, we should handle math symbols:
π
r
&
sup2
≤
&
#8734.
And it shouldn't matter if we use entities or numeric codes
—
Ω
≠
π
≡
Ω
≠
π
.
</p>
=======
<p>
Isn't the toy course great? —
≤
</p>
>>>>>>> Stashed changes
common/test/data/toy/html/toylab.xml
deleted
100644 → 0
View file @
4e015eac
<html
filename=
"toylab.html"
/>
\ No newline at end of file
common/test/data/toy/vertical/vertical_test.xml
View file @
5d300bf3
...
...
@@ -4,13 +4,4 @@
<answer
id=
"yes"
>
Yes
</answer>
<answer
id=
"no"
>
No
</answer>
</poll_question>
<problem><script
type=
"loncapa/python"
>
a=5
</script><startouttext/>
Answer the question
<endouttext/>
<startouttext/>
<endouttext/>
<numericalresponse
answer=
"$a"
><responseparam
type=
"tolerance"
default=
"5%"
name=
"tol"
description=
"Numerical Tolerance"
/><textline/></numericalresponse>
</problem>
</sequential>
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