Commit 5058e42e by Ehtesham

fixing tag

parent 2bd01eb0
...@@ -156,10 +156,10 @@ class CapaHtmlRenderTest(unittest.TestCase): ...@@ -156,10 +156,10 @@ class CapaHtmlRenderTest(unittest.TestCase):
self.assertEqual(question_element.text, "Test question") self.assertEqual(question_element.text, "Test question")
# Expect that the response has been turned into a <span> # Expect that the response has been turned into a <span>
response_element = rendered_html.find("span") response_element = rendered_html.find("section")
self.assertEqual(response_element.tag, "span") self.assertEqual(response_element.tag, "section")
# Expect that the response <span> # Expect that the response <section>
# that contains a <div> for the textline # that contains a <div> for the textline
textline_element = response_element.find("div") textline_element = response_element.find("div")
self.assertEqual(textline_element.text, 'Input Template Render') self.assertEqual(textline_element.text, 'Input Template Render')
......
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