All cms unit test no longer rely on the full course.

Factories were used when possible but tests depending on importing or things not manageable by factories used the toy course.  New files were added to include the needed functionality.  Most files are blank or have minimal xml needed to work
This commit is contained in:
JonahStanley
2013-06-25 09:40:40 -04:00
parent 55e6d1ad67
commit 982777f547
8 changed files with 68 additions and 61 deletions

View File

@@ -0,0 +1,3 @@
<sequential>
<html> <a href="/static/handouts/sample_handout.txt"> handouts</a>
</sequential>

View File

@@ -0,0 +1,3 @@
<sequential>
<sequential filename='vertical_sequential' slug='vertical_sequential' />
</sequential>

View File

@@ -11,4 +11,6 @@
</chapter>
<chapter url_name="secret:magic"/>
<chapter url_name="poll_test"/>
<chapter url_name="vertical_container"/>
<chapter url_name="handout_container"/>
</course>

View File

@@ -0,0 +1 @@
<a href='/static/handouts/sample_handout.txt'>Sample</a>

View File

@@ -0,0 +1,3 @@
<sequential>
<vertical filename="vertical_test" slug="vertical_test" />
</sequential>

View File

@@ -0,0 +1,7 @@
<sequential>
<poll_question name="T1_changemind_poll_foo" display_name="Change your answer" reset="false">
<p>Have you changed your mind?</p>
<answer id="yes">Yes</answer>
<answer id="no">No</answer>
</poll_question>
</sequential>