Skip to content
Snippets Groups Projects
Commit 509f27f0 authored by Adam Palay's avatar Adam Palay
Browse files

Revert "changes for failing label test"

This reverts commit c75526ea.
parent 3d878240
No related merge requests found
......@@ -126,7 +126,7 @@ class ChoiceGroupTemplateTest(TemplateTestCase):
self.context = {'id': '1',
'choices': choices,
'status': Status('correct'),
'question_label': 'test',
'question_label': '',
'label': 'test',
'input_type': 'checkbox',
'name_array_suffix': '1',
......@@ -343,8 +343,8 @@ class ChoiceGroupTemplateTest(TemplateTestCase):
def test_label(self):
xml = self.render_to_xml(self.context)
xpath = "//fieldset/legend"
self.assert_has_text(xml, xpath, self.context['question_label'])
xpath = "//fieldset[@aria-label='%s']" % self.context['label']
self.assert_has_xpath(xml, xpath, self.context)
class TextlineTemplateTest(TemplateTestCase):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment