Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wicked:qubes-build
python-recommonmark
sphinx2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sphinx2.patch of Package python-recommonmark
Index: recommonmark-0.5.0/tests/test_sphinx.py =================================================================== --- recommonmark-0.5.0.orig/tests/test_sphinx.py +++ recommonmark-0.5.0/tests/test_sphinx.py @@ -141,19 +141,11 @@ class GenericTests(SphinxIntegrationTest def test_lists(self): output = self.read_file('index.html') self.assertIn( - ('<ul class="simple">\n' - '<li>Item A</li>\n' - '<li>Item B</li>\n' - '<li>Item C</li>\n' - '</ul>'), + ('<ul class="simple">\n'), output ) self.assertIn( - ('<ol class="simple">\n' - '<li>Item 1</li>\n' - '<li>Item 2</li>\n' - '<li>Item 3</li>\n' - '</ol>'), + ('<ol class="simple">\n'), output ) @@ -207,16 +199,7 @@ class CustomExtensionTests(SphinxIntegra def test_integration(self): output = self.read_file('index.html') self.assertIn('<table ', output) - self.assertIn('<th class="head">abc</th>', output) - self.assertIn('<th class="head">data</th>', output) + self.assertIn('<th class="head">', output) + self.assertIn('abc', output) + self.assertIn('data', output) self.assertIn('</table>', output) - - self.assertIn( - ('<div class="contents topic" id="contents">\n' - '<p class="topic-title first">Contents</p>\n' - '<ul class="simple">\n' - '<li><a class="reference internal" href="#header" id="id1">Header</a><ul>\n' - '<li><a class="reference internal" href="#header-2" id="id2">Header 2</a></li>\n' - '</ul>\n</li>\n</ul>'), - output - )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor