@@ -10,7 +10,7 @@ from openassessment.xblock.scenario_parser import ScenarioParser
classTestScenarioParser(TestCase):
"""Test the ScenarioParser XML parsing class, which turns xml into filled XBlocks.
This does the simplest possible set of tests, just calling the parser utility
This does the simplest possible set of tests, just calling the parser utility
methods and confirming that their return results are correct, have good types, etc."""
defsetUp(self):
...
...
@@ -24,8 +24,8 @@ class TestScenarioParser(TestCase):
deftest_get_rubric(self):
"""Given a <rubric> tree, return a instructions and a list of criteria"""
rubric_instructions_text="This text is general instructions relating to this rubric. There should only be one set of instructions for the rubric."
criterion_instructions_text="This text is instructions for this criterion. There can be multiple criteria, but each one should only have one set of instructions."
rubric_prompt_text="This text is general instructions relating to this rubric. There should only be one set of instructions for the rubric."
criterion_prompt_text="This text is instructions for this criterion. There can be multiple criteria, but each one should only have one set of instructions."
criterion_option_explain_text="And this explains what the label for this option means. There can be only one explanation per label."
rubric_text="""<rubric>
{rit}
...
...
@@ -39,27 +39,26 @@ class TestScenarioParser(TestCase):