Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
5058e42e
Commit
5058e42e
authored
Jul 12, 2016
by
Ehtesham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing tag
parent
2bd01eb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
common/lib/capa/capa/tests/test_html_render.py
+3
-3
No files found.
common/lib/capa/capa/tests/test_html_render.py
View file @
5058e42e
...
@@ -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
(
"s
pa
n"
)
response_element
=
rendered_html
.
find
(
"s
ectio
n"
)
self
.
assertEqual
(
response_element
.
tag
,
"s
pa
n"
)
self
.
assertEqual
(
response_element
.
tag
,
"s
ectio
n"
)
# Expect that the response <s
pa
n>
# Expect that the response <s
ectio
n>
# 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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment