Commit 3f5f7c1d by Usman Khalid

Fixed studio tests

TNL-708
parent 17cdf6a6
{ {
"zero_criteria": { "zero_criteria": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [] "criteria": []
} }
}, },
"negative_points": { "negative_points": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
"duplicate_criteria_names": { "duplicate_criteria_names": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
"duplicate_option_names": { "duplicate_option_names": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
"change_points_after_release": { "change_points_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
"add_criteria_after_release": { "add_criteria_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
"remove_criteria_after_release": { "remove_criteria_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
"add_options_after_release": { "add_options_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
"remove_options_after_release": { "remove_options_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -348,7 +348,7 @@ ...@@ -348,7 +348,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -376,7 +376,7 @@ ...@@ -376,7 +376,7 @@
"rename_criterion_name_after_release": { "rename_criterion_name_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -400,7 +400,7 @@ ...@@ -400,7 +400,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -428,7 +428,7 @@ ...@@ -428,7 +428,7 @@
"rename_multiple_criteria_after_release": { "rename_multiple_criteria_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -465,7 +465,7 @@ ...@@ -465,7 +465,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -507,7 +507,7 @@ ...@@ -507,7 +507,7 @@
"example_based_duplicate_option_points": { "example_based_duplicate_option_points": {
"is_example_based": true, "is_example_based": true,
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -534,7 +534,7 @@ ...@@ -534,7 +534,7 @@
"zero_options_feedback_optional": { "zero_options_feedback_optional": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -549,7 +549,7 @@ ...@@ -549,7 +549,7 @@
"zero_options_feedback_disabled": { "zero_options_feedback_disabled": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -564,7 +564,7 @@ ...@@ -564,7 +564,7 @@
"zero_options_no_feedback": { "zero_options_no_feedback": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
......
{ {
"no_criteria": { "no_criteria": {
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"title": "My new title.", "title": "My new title.",
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
}, },
"no_feedback_prompt": { "no_feedback_prompt": {
"prompt": "Test prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
"no_submission_due": { "no_submission_due": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
"invalid_dates": { "invalid_dates": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
"invalid_dates_two": { "invalid_dates_two": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
"order_num_is_string": { "order_num_is_string": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
"feedback_missing": { "feedback_missing": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -376,7 +376,7 @@ ...@@ -376,7 +376,7 @@
"criterion_not_a_dict": { "criterion_not_a_dict": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "prompty", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
"criteria_missing_keys": { "criteria_missing_keys": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -443,7 +443,7 @@ ...@@ -443,7 +443,7 @@
"options_not_a_list": { "options_not_a_list": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,7 @@
"option_not_a_dictionary": { "option_not_a_dictionary": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -512,7 +512,7 @@ ...@@ -512,7 +512,7 @@
"option_missing_keys": { "option_missing_keys": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -556,7 +556,7 @@ ...@@ -556,7 +556,7 @@
"option_points_must_be_int": { "option_points_must_be_int": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": false, "allow_file_upload": false,
"allow_latex": false, "allow_latex": false,
"leaderboard_show": 0, "leaderboard_show": 0,
...@@ -599,7 +599,7 @@ ...@@ -599,7 +599,7 @@
"allow_file_upload_must_be_boolean": { "allow_file_upload_must_be_boolean": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": 6, "allow_file_upload": 6,
"allow_latex": false, "allow_latex": false,
"criteria": [ "criteria": [
...@@ -641,7 +641,7 @@ ...@@ -641,7 +641,7 @@
"allow_file_upload_null": { "allow_file_upload_null": {
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"allow_file_upload": null, "allow_file_upload": null,
"allow_latex": false, "allow_latex": false,
"criteria": [ "criteria": [
...@@ -708,7 +708,7 @@ ...@@ -708,7 +708,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -765,7 +765,7 @@ ...@@ -765,7 +765,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -820,7 +820,7 @@ ...@@ -820,7 +820,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -878,7 +878,7 @@ ...@@ -878,7 +878,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -936,7 +936,7 @@ ...@@ -936,7 +936,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -988,7 +988,7 @@ ...@@ -988,7 +988,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -1047,7 +1047,7 @@ ...@@ -1047,7 +1047,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -1098,7 +1098,7 @@ ...@@ -1098,7 +1098,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -1150,7 +1150,7 @@ ...@@ -1150,7 +1150,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -1181,7 +1181,7 @@ ...@@ -1181,7 +1181,7 @@
}, },
"no_criteria_name": { "no_criteria_name": {
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"allow_file_upload": false, "allow_file_upload": false,
...@@ -1232,7 +1232,7 @@ ...@@ -1232,7 +1232,7 @@
}, },
"no_option_name": { "no_option_name": {
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"allow_file_upload": false, "allow_file_upload": false,
...@@ -1283,7 +1283,7 @@ ...@@ -1283,7 +1283,7 @@
}, },
"criteria_names_not_unique": { "criteria_names_not_unique": {
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"allow_file_upload": false, "allow_file_upload": false,
...@@ -1357,7 +1357,7 @@ ...@@ -1357,7 +1357,7 @@
"option_names_not_unique": { "option_names_not_unique": {
"expected_error": "validation error: options", "expected_error": "validation error: options",
"prompt": "Test Prompt", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"allow_file_upload": false, "allow_file_upload": false,
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "Ṁÿ ṅëẅ ṗṛöṁṗẗ.", "prompts": [{"description": "Ṁÿ ṅëẅ ṗṛöṁṗẗ 1."}, {"description": "Ṁÿ ṅëẅ ṗṛöṁṗẗ 2."}],
"feedback_prompt": "ḟëëḋḅäċḳ ṗṛöṁṗẗ", "feedback_prompt": "ḟëëḋḅäċḳ ṗṛöṁṗẗ",
"feedback_default_text": "Ṫëṡẗ ḋëḟäüḷẗ ẗëẍẗ", "feedback_default_text": "Ṫëṡẗ ḋëḟäüḷẗ ẗëẍẗ",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
"feedback": "required" "feedback": "required"
} }
], ],
"prompt": "My new prompt.", "prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt", "feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text", "feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46", "submission_due": "4014-02-27T09:46",
......
{ {
"simple": { "simple": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
"unicode": { "unicode": {
"rubric": { "rubric": {
"prompt": "☃", "prompts": [{"description": "Test Prompt 1 ☃."}, {"description": "Test Prompt 2 ☃."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"change_points_before_release": { "change_points_before_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
"add_criteria_before_release": { "add_criteria_before_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
"remove_criteria_before_release": { "remove_criteria_before_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
"add_options_before_release": { "add_options_before_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -294,7 +294,7 @@ ...@@ -294,7 +294,7 @@
"remove_options_before_release": { "remove_options_before_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -312,7 +312,7 @@ ...@@ -312,7 +312,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
"change_text_before_release": { "change_text_before_release": {
"rubric": { "rubric": {
"prompt": "Changed Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -364,7 +364,7 @@ ...@@ -364,7 +364,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -392,7 +392,7 @@ ...@@ -392,7 +392,7 @@
"change_criteria_prompt_after_release": { "change_criteria_prompt_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -416,7 +416,7 @@ ...@@ -416,7 +416,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -444,7 +444,7 @@ ...@@ -444,7 +444,7 @@
"change_option_name_after_release": { "change_option_name_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -468,7 +468,7 @@ ...@@ -468,7 +468,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -496,7 +496,7 @@ ...@@ -496,7 +496,7 @@
"change_option_explanation_after_release": { "change_option_explanation_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -520,7 +520,7 @@ ...@@ -520,7 +520,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -548,7 +548,7 @@ ...@@ -548,7 +548,7 @@
"rename_options_after_release": { "rename_options_after_release": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -572,7 +572,7 @@ ...@@ -572,7 +572,7 @@
] ]
}, },
"current_rubric": { "current_rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
...@@ -600,7 +600,7 @@ ...@@ -600,7 +600,7 @@
"zero_options": { "zero_options": {
"rubric": { "rubric": {
"prompt": "Test Prompt", "prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [ "criteria": [
{ {
"order_num": 0, "order_num": 0,
......
...@@ -18,7 +18,7 @@ class StudioViewTest(XBlockHandlerTestCase): ...@@ -18,7 +18,7 @@ class StudioViewTest(XBlockHandlerTestCase):
""" """
UPDATE_EDITOR_DATA = { UPDATE_EDITOR_DATA = {
"title": "Test title", "title": "Test title",
"prompt": "Test prompt", "prompts": [{"description": "Test prompt"}],
"feedback_prompt": "Test feedback prompt", "feedback_prompt": "Test feedback prompt",
"feedback_default_text": "Test feedback default text", "feedback_default_text": "Test feedback default text",
"submission_start": "4014-02-10T09:46", "submission_start": "4014-02-10T09:46",
......
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