Added tests for ChoiceResponses.

This commit is contained in:
Arjun Singh
2012-07-19 13:07:00 -07:00
parent 6871326001
commit c87f9cd523
4 changed files with 127 additions and 1 deletions

View File

@@ -325,7 +325,7 @@ class ChoiceResponse(LoncapaResponse):
def assign_choice_names(self):
'''
Initialize name attributes in <choice> tags for his response.
Initialize name attributes in <choice> tags for this response.
'''
for index, choice in enumerate(self.xml.xpath('//*[@id=$id]//choice',