Fixed the whitelist test to not use full course
This commit is contained in:
1
common/test/data/toy/chapter/html_container.xml
Normal file
1
common/test/data/toy/chapter/html_container.xml
Normal file
@@ -0,0 +1 @@
|
||||
<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>
|
||||
@@ -13,4 +13,5 @@
|
||||
<chapter url_name="poll_test"/>
|
||||
<chapter url_name="vertical_container"/>
|
||||
<chapter url_name="handout_container"/>
|
||||
<chapter url_name="html_container"/>
|
||||
</course>
|
||||
|
||||
13
common/test/data/toy/html/toylab.html
Normal file
13
common/test/data/toy/html/toylab.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<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² ≤ ∞.
|
||||
And it shouldn't matter if we use entities or numeric codes — Ω ≠ π ≡ Ω ≠ π.
|
||||
</p>
|
||||
=======
|
||||
<p>Isn't the toy course great? — ≤</p>
|
||||
>>>>>>> Stashed changes
|
||||
1
common/test/data/toy/html/toylab.xml
Normal file
1
common/test/data/toy/html/toylab.xml
Normal file
@@ -0,0 +1 @@
|
||||
<html filename="toylab.html"/>
|
||||
@@ -4,4 +4,13 @@
|
||||
<answer id="yes">Yes</answer>
|
||||
<answer id="no">No</answer>
|
||||
</poll_question>
|
||||
</sequential>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user