Commit 7860e013 by Diana Huang

Fix unit tests to handle new max score requirements.

parent 97a32f8c
...@@ -30,9 +30,10 @@ class OpenEndedChildTest(unittest.TestCase): ...@@ -30,9 +30,10 @@ class OpenEndedChildTest(unittest.TestCase):
<category> <category>
<description>Response Quality</description> <description>Response Quality</description>
<option>The response is not a satisfactory answer to the question. It either fails to address the question or does so in a limited way, with no evidence of higher-order thinking.</option> <option>The response is not a satisfactory answer to the question. It either fails to address the question or does so in a limited way, with no evidence of higher-order thinking.</option>
<option>Second option</option>
</category> </category>
</rubric></rubric>''' </rubric></rubric>'''
max_score = 4 max_score = 1
static_data = { static_data = {
'max_attempts': 20, 'max_attempts': 20,
...@@ -270,9 +271,10 @@ class CombinedOpenEndedModuleTest(unittest.TestCase): ...@@ -270,9 +271,10 @@ class CombinedOpenEndedModuleTest(unittest.TestCase):
<category> <category>
<description>Response Quality</description> <description>Response Quality</description>
<option>The response is not a satisfactory answer to the question. It either fails to address the question or does so in a limited way, with no evidence of higher-order thinking.</option> <option>The response is not a satisfactory answer to the question. It either fails to address the question or does so in a limited way, with no evidence of higher-order thinking.</option>
<option>Second option</option>
</category> </category>
</rubric></rubric>''' </rubric></rubric>'''
max_score = 3 max_score = 1
metadata = {'attempts': '10', 'max_score': max_score} metadata = {'attempts': '10', 'max_score': max_score}
......
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