Commit 3f5f7c1d by Usman Khalid

Fixed studio tests

TNL-708
parent 17cdf6a6
{
"zero_criteria": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": []
}
},
"negative_points": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -29,7 +29,7 @@
"duplicate_criteria_names": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -63,7 +63,7 @@
"duplicate_option_names": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -90,7 +90,7 @@
"change_points_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -114,7 +114,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -142,7 +142,7 @@
"add_criteria_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -166,7 +166,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -213,7 +213,7 @@
"remove_criteria_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -256,7 +256,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -284,7 +284,7 @@
"add_options_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -308,7 +308,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -330,7 +330,7 @@
"remove_options_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -348,7 +348,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -376,7 +376,7 @@
"rename_criterion_name_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -400,7 +400,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -428,7 +428,7 @@
"rename_multiple_criteria_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -465,7 +465,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -507,7 +507,7 @@
"example_based_duplicate_option_points": {
"is_example_based": true,
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -534,7 +534,7 @@
"zero_options_feedback_optional": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -549,7 +549,7 @@
"zero_options_feedback_disabled": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -564,7 +564,7 @@
"zero_options_no_feedback": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......
......@@ -25,7 +25,7 @@
"feedback": "required"
}
],
"prompt": "My new prompt.",
"prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46",
......@@ -77,7 +77,7 @@
"feedback": "required"
}
],
"prompt": "Ṁÿ ṅëẅ ṗṛöṁṗẗ.",
"prompts": [{"description": "Ṁÿ ṅëẅ ṗṛöṁṗẗ 1."}, {"description": "Ṁÿ ṅëẅ ṗṛöṁṗẗ 2."}],
"feedback_prompt": "ḟëëḋḅäċḳ ṗṛöṁṗẗ",
"feedback_default_text": "Ṫëṡẗ ḋëḟäüḷẗ ẗëẍẗ",
"submission_due": "4014-02-27T09:46",
......@@ -129,7 +129,7 @@
"feedback": "required"
}
],
"prompt": "My new prompt.",
"prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46",
......@@ -193,7 +193,7 @@
"feedback": "required"
}
],
"prompt": "My new prompt.",
"prompts": [{"description": "My new prompt 1."}, {"description": "My new prompt 2."}],
"feedback_prompt": "Feedback prompt",
"feedback_default_text": "Feedback default text",
"submission_due": "4014-02-27T09:46",
......
{
"simple": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -28,7 +28,7 @@
"unicode": {
"rubric": {
"prompt": "☃",
"prompts": [{"description": "Test Prompt 1 ☃."}, {"description": "Test Prompt 2 ☃."}],
"criteria": [
{
"order_num": 0,
......@@ -55,7 +55,7 @@
"change_points_before_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -79,7 +79,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -107,7 +107,7 @@
"add_criteria_before_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -131,7 +131,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -178,7 +178,7 @@
"remove_criteria_before_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -221,7 +221,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -249,7 +249,7 @@
"add_options_before_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -273,7 +273,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -294,7 +294,7 @@
"remove_options_before_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -312,7 +312,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -340,7 +340,7 @@
"change_text_before_release": {
"rubric": {
"prompt": "Changed Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -364,7 +364,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -392,7 +392,7 @@
"change_criteria_prompt_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -416,7 +416,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -444,7 +444,7 @@
"change_option_name_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -468,7 +468,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -496,7 +496,7 @@
"change_option_explanation_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -520,7 +520,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -548,7 +548,7 @@
"rename_options_after_release": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -572,7 +572,7 @@
]
},
"current_rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......@@ -600,7 +600,7 @@
"zero_options": {
"rubric": {
"prompt": "Test Prompt",
"prompts": [{"description": "Test Prompt 1."}, {"description": "Test Prompt 2."}],
"criteria": [
{
"order_num": 0,
......
......@@ -18,7 +18,7 @@ class StudioViewTest(XBlockHandlerTestCase):
"""
UPDATE_EDITOR_DATA = {
"title": "Test title",
"prompt": "Test prompt",
"prompts": [{"description": "Test prompt"}],
"feedback_prompt": "Test feedback prompt",
"feedback_default_text": "Test feedback default text",
"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