Commit ba034d32 by Ehtesham

quality fixes

parent 2aafff35
...@@ -122,15 +122,16 @@ class ChoiceGroupTemplateTest(TemplateTestCase): ...@@ -122,15 +122,16 @@ class ChoiceGroupTemplateTest(TemplateTestCase):
def setUp(self): def setUp(self):
choices = [('1', 'choice 1'), ('2', 'choice 2'), ('3', 'choice 3')] choices = [('1', 'choice 1'), ('2', 'choice 2'), ('3', 'choice 3')]
self.context = {'id': '1', self.context = {
'choices': choices, 'id': '1',
'status': Status('correct'), 'choices': choices,
'label': 'test', 'status': Status('correct'),
'input_type': 'checkbox', 'label': 'test',
'name_array_suffix': '1', 'input_type': 'checkbox',
'value': '3', 'name_array_suffix': '1',
'response_data': {'label': 'test'} 'value': '3',
} 'response_data': {'label': 'test'}
}
super(ChoiceGroupTemplateTest, self).setUp() super(ChoiceGroupTemplateTest, self).setUp()
def test_problem_marked_correct(self): def test_problem_marked_correct(self):
......
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