Skip to content

Commit

Permalink
fix: get peer_median_default instead of peer_median
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed May 7, 2024
1 parent 7c97379 commit b1df638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openassessment/xblock/test/test_grade_explanation.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_render_grade_explanation_peer_only_median_calculation(self, xblock):
)
resp = self.request(xblock, 'render_grade', json.dumps({}))

self.assertIn(self.second_sentences_options["peer_mean"], resp.decode('utf-8'))
self.assertIn(self.second_sentences_options["peer_median_default"], resp.decode('utf-8'))

@scenario('data/grade_scenario_peer_only.xml', user_id='Bernard')
@data(*assessment_score_priority)
Expand Down

0 comments on commit b1df638

Please sign in to comment.