Make initial import-export tests pass.
TODO: * need unique slugs for errors so they don't overwrite each other on export. - try to preserve origin slug. If not possible, generate random one. * figure out what metadata to strip. e.g. ({'data': '<problem><p><h1>Finger Exercise 1...'}, {'data': '<problem points="1" type="lecture"><p><h1>Finger Exercise 1...'}, False) - where did points and type come from? Do we want them there? * separate broken and non-broken test courses
Showing
- common/lib/xmodule/xmodule/html_module.py 6 additions, 5 deletionscommon/lib/xmodule/xmodule/html_module.py
- common/lib/xmodule/xmodule/tests/test_export.py 55 additions, 41 deletionscommon/lib/xmodule/xmodule/tests/test_export.py
- common/lib/xmodule/xmodule/tests/test_import.py 0 additions, 2 deletionscommon/lib/xmodule/xmodule/tests/test_import.py
- common/lib/xmodule/xmodule/xml_module.py 1 addition, 1 deletioncommon/lib/xmodule/xmodule/xml_module.py
- common/test/data/simple/course.xml 1 addition, 1 deletioncommon/test/data/simple/course.xml
- common/test/data/simple/problem/L1_Problem_1.xml 0 additions, 0 deletionscommon/test/data/simple/problem/L1_Problem_1.xml
- common/test/data/simple/problem/ps01-simple.xml 0 additions, 0 deletionscommon/test/data/simple/problem/ps01-simple.xml
Loading
Please register or sign in to comment