From c991c0489c14124343b8ffc4e9e39893bdb457b5 Mon Sep 17 00:00:00 2001 From: Vik Paruchuri Date: Mon, 4 Feb 2013 10:26:25 -0500 Subject: [PATCH] Fix open ended test with flagging --- lms/djangoapps/open_ended_grading/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/djangoapps/open_ended_grading/tests.py b/lms/djangoapps/open_ended_grading/tests.py index 57ea4f319c..131fe5ad9f 100644 --- a/lms/djangoapps/open_ended_grading/tests.py +++ b/lms/djangoapps/open_ended_grading/tests.py @@ -172,7 +172,8 @@ class TestPeerGradingService(ct.PageLoader): 'submission_key': 'fake key', 'score': '2', 'feedback': 'This is feedback', - 'rubric_scores[]': [1, 2]} + 'rubric_scores[]': [1, 2], + 'submission_flagged' : False} r = self.check_for_post_code(200, url, data) d = json.loads(r.content) self.assertTrue(d['success'])