Commit 2fc96d5f by Will Daly

Fixed a merge issue about code response

parent 7a282a9c
...@@ -228,7 +228,8 @@ CORRECTNESS_SELECTORS = { ...@@ -228,7 +228,8 @@ CORRECTNESS_SELECTORS = {
'string': ['div.correct'], 'string': ['div.correct'],
'numerical': ['div.correct'], 'numerical': ['div.correct'],
'formula': ['div.correct'], 'formula': ['div.correct'],
'script': ['div.correct'], }, 'script': ['div.correct'],
'code': ['span.correct']},
'incorrect': {'drop down': ['span.incorrect'], 'incorrect': {'drop down': ['span.incorrect'],
'multiple choice': ['label.choicegroup_incorrect', 'multiple choice': ['label.choicegroup_incorrect',
...@@ -237,7 +238,8 @@ CORRECTNESS_SELECTORS = { ...@@ -237,7 +238,8 @@ CORRECTNESS_SELECTORS = {
'string': ['div.incorrect'], 'string': ['div.incorrect'],
'numerical': ['div.incorrect'], 'numerical': ['div.incorrect'],
'formula': ['div.incorrect'], 'formula': ['div.incorrect'],
'script': ['div.incorrect']}, 'script': ['div.incorrect'],
'code': ['span.incorrect']},
'unanswered': {'drop down': ['span.unanswered'], 'unanswered': {'drop down': ['span.unanswered'],
'multiple choice': ['span.unanswered'], 'multiple choice': ['span.unanswered'],
...@@ -245,7 +247,8 @@ CORRECTNESS_SELECTORS = { ...@@ -245,7 +247,8 @@ CORRECTNESS_SELECTORS = {
'string': ['div.unanswered'], 'string': ['div.unanswered'],
'numerical': ['div.unanswered'], 'numerical': ['div.unanswered'],
'formula': ['div.unanswered'], 'formula': ['div.unanswered'],
'script': ['div.unanswered']}} 'script': ['div.unanswered'],
'code': ['span.unanswered'] }}
@step(u'My "([^"]*)" answer is marked "([^"]*)"') @step(u'My "([^"]*)" answer is marked "([^"]*)"')
......
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