Commit fecc5658 by Jay Zoldak

Return valid feedback from ORA stub

so that the logs will be much cleaner.
See test_root/log/bok_choy_lms.log
parent e555a2d9
......@@ -204,7 +204,7 @@ class AIAssessmentTest(OpenResponseTest):
XQUEUE_GRADE_RESPONSE = {
'score': 1,
'feedback': {"spelling": "Ok.", "grammar": "Ok.", "markup_text": "NA"},
'feedback': json.dumps({"spelling": "Ok.", "grammar": "Ok.", "markup_text": "NA"}),
'grader_type': 'BC',
'success': True,
'grader_id': 1,
......@@ -249,7 +249,7 @@ class InstructorAssessmentTest(OpenResponseTest):
XQUEUE_GRADE_RESPONSE = {
'score': 1,
'feedback': {"feedback": "Good job!"},
'feedback': json.dumps({"feedback": "Good job!"}),
'grader_type': 'IN',
'success': True,
'grader_id': 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment