Lets you add a multiline=True flag to cases. When this flag is present, the unlock protocol will always use the multiline protocol. This is needed when we have a question where multiline answers are possible, but the correct answer has just one line. Otherwise, students can look at the prompt to determine whether the answer has just one or multiple lines.
Test plan: pytest testForceMultipleLineMultipleFailsBeforeSuccess.
Lets you add a
multiline=True
flag to cases. When this flag is present, the unlock protocol will always use the multiline protocol. This is needed when we have a question where multiline answers are possible, but the correct answer has just one line. Otherwise, students can look at the prompt to determine whether the answer has just one or multiple lines.Test plan:
pytest testForceMultipleLineMultipleFailsBeforeSuccess
.