Allow import of native XBlocks in draft

Added tests for importing a pure XBlock
This commit is contained in:
Will Daly
2014-04-07 13:27:29 -04:00
parent 5b305476a3
commit 08413afdfd
8 changed files with 149 additions and 27 deletions

View File

@@ -0,0 +1,3 @@
<chapter display_name="Test Chapter">
<sequential url_name="b68bb50c4f1f41a3abeec1dac309087d"/>
</chapter>

View File

@@ -0,0 +1 @@
<course url_name="2012_Fall" org="edX" course="pure_xblock_draft"/>

View File

@@ -0,0 +1,3 @@
<course display_name="Test Course" start="2014-01-01T00:00:00Z">
<chapter url_name="150311f8087e47f4858f7db44df32ee5"/>
</course>

View File

@@ -0,0 +1,3 @@
<vertical display_name="Test" parent_sequential_url="i4x://edX/pure_xblock_draft/sequential/b68bb50c4f1f41a3abeec1dac309087d" index_in_children_list="0">
<stubxblock test_field="set by xml" url_name="xblock_test" />
</vertical>

View File

@@ -0,0 +1 @@
<sequential display_name="Test Section"/>

View File

@@ -0,0 +1,3 @@
<course org="edX" course="pure_xblock_public" url_name="2012_Fall">
<stubxblock test_field="set by xml" url_name="xblock_test" />
</course>