Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123183
D5435.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1011 B
Subscribers
None
D5435.diff
View Options
diff --git a/swh/web/tests/common/test_utils.py b/swh/web/tests/common/test_utils.py
--- a/swh/web/tests/common/test_utils.py
+++ b/swh/web/tests/common/test_utils.py
@@ -109,8 +109,6 @@
"Section\n"
"=======\n\n"
"**Some strong text**\n\n"
- "Subsection\n"
- "----------\n\n"
"* This is a bulleted list.\n"
"* It has two items, the second\n"
" item uses two lines.\n"
@@ -125,8 +123,6 @@
expected_html = (
'<div class="swh-rst"><h1 class="title">Section</h1>\n'
"<p><strong>Some strong text</strong></p>\n"
- '<div class="section" id="subsection">\n'
- "<h2>Subsection</h2>\n"
'<ul class="simple">\n'
"<li><p>This is a bulleted list.</p></li>\n"
"<li><p>It has two items, the second\n"
@@ -138,7 +134,6 @@
"<li><p>This is a numbered list.</p></li>\n"
"<li><p>It has two items too.</p></li>\n"
"</ol>\n"
- "</div>\n"
"</div>"
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 1:59 AM (2 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228103
Attached To
D5435: tests: Fix test_rst_to_html with docutils 0.17
Event Timeline
Log In to Comment