Add unit tests that detect issues discovered during internal review of a
previous PR (https://github.com/open-craft/problem-builder/pull/47). The new tests check if: - preferred block attrs are used when building block tree for current course - block tree excludes pb-choice blocks - blocks are correctly marked as (in)eligible - new-style keys are handled correctly - student_view passes calls rendering method with correct template args - author_view and studio_view show appropriate messages
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment