Fix split_test xblock so that it can render in Studio
This change addresses STUD-1403 where split_test modules could not render in Studio. It changes Studio to pass a new parameter 'runtime-type' of 'studio' when rendering an xblock. In split_test, this will then cause all of the children to be rendered, rather than just the one that matches the conditional.
Showing
- cms/djangoapps/contentstore/views/item.py 2 additions, 1 deletioncms/djangoapps/contentstore/views/item.py
- cms/djangoapps/contentstore/views/tests/test_item.py 16 additions, 0 deletionscms/djangoapps/contentstore/views/tests/test_item.py
- common/lib/xmodule/xmodule/split_test_module.py 44 additions, 4 deletionscommon/lib/xmodule/xmodule/split_test_module.py
Please register or sign in to comment