test_instructor_tool.py
9.87 KB
-
Add unit tests that detect issues discovered during internal review of a · 741de068
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
Tim Krones committed