Chris Dodge
5886118afe
in XML deserializations, we can get get floats for start/stop times, so we need to be able to parse those
...
add test video with float-based end-time
2013-09-17 10:38:21 -04:00
Chris Dodge
22802a4d29
change from_xml class method on video class to make sure we honor the fact that the xml string could actually be a pointer to another file on disk which actually contains the attributes
2013-07-19 13:54:22 -04:00
Chris Dodge
99ff3719cc
remove the video from the toy course for now as the import-export-import isn't totally equivalence.
2013-07-18 10:35:50 -04:00
Chris Dodge
8325e28a10
add a default XML serialization if the 'data' field is empty or None. Some XModules now - like video XModule - do not have XML set in the 'data' field
2013-07-17 12:31:33 -04:00
JonahStanley
5d300bf36f
Fixed the broken unit tests from deleting full
2013-07-11 14:34:41 -04:00
JonahStanley
4e015eacf5
Fixed the whitelist test to not use full course
2013-07-11 12:05:18 -04:00
JonahStanley
67326cfae8
Fixed xmodule tests to not rely on full
...
Also fixed things in the toy course where needed
2013-07-11 10:12:09 -04:00
JonahStanley
982777f547
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
2013-07-11 10:09:05 -04:00