Fix unit tests to handle new max score requirements.

This commit is contained in:
Diana Huang
2013-02-04 14:25:23 -05:00
parent 97a32f8ced
commit 7860e013ad

View File

@@ -30,9 +30,10 @@ class OpenEndedChildTest(unittest.TestCase):
<category>
<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>Second option</option>
</category>
</rubric></rubric>'''
max_score = 4
max_score = 1
static_data = {
'max_attempts': 20,
@@ -270,9 +271,10 @@ class CombinedOpenEndedModuleTest(unittest.TestCase):
<category>
<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>Second option</option>
</category>
</rubric></rubric>'''
max_score = 3
max_score = 1
metadata = {'attempts': '10', 'max_score': max_score}