Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Simmphonie:python310
python-sphinxcontrib-qthelp
sphinx5.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sphinx5.patch of Package python-sphinxcontrib-qthelp
Index: sphinxcontrib-qthelp-1.0.3/tests/test_qthelp.py =================================================================== --- sphinxcontrib-qthelp-1.0.3.orig/tests/test_qthelp.py +++ sphinxcontrib-qthelp-1.0.3/tests/test_qthelp.py @@ -17,7 +17,7 @@ from sphinx.testing.util import etree_pa def test_qthelp_basic(app, status, warning): app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert '<customFilter name="Python ">' in qhp assert '<filterAttribute>Python</filterAttribute>' in qhp assert '<filterAttribute></filterAttribute>' in qhp @@ -26,7 +26,7 @@ def test_qthelp_basic(app, status, warni assert '<file>index.html</file>' in qhp assert '<file>_static/basic.css</file>' in qhp - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<title>Python documentation</title>' in qhcp assert '<homePage>qthelp://org.sphinx.python/doc/index.html</homePage>' in qhcp assert '<startPage>qthelp://org.sphinx.python/doc/index.html</startPage>' in qhcp @@ -91,10 +91,10 @@ def test_qthelp_namespace(app, status, w # default namespace app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert '<namespace>org.sphinx.python</namespace>' in qhp - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<homePage>qthelp://org.sphinx.python/doc/index.html</homePage>' in qhcp assert '<startPage>qthelp://org.sphinx.python/doc/index.html</startPage>' in qhcp @@ -102,10 +102,10 @@ def test_qthelp_namespace(app, status, w app.config.qthelp_namespace = 'org.sphinx-doc.sphinx' app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert '<namespace>org.sphinx-doc.sphinx</namespace>' in qhp - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<homePage>qthelp://org.sphinx-doc.sphinx/doc/index.html</homePage>' in qhcp assert '<startPage>qthelp://org.sphinx-doc.sphinx/doc/index.html</startPage>' in qhcp @@ -115,10 +115,10 @@ def test_qthelp_title(app, status, warni # default title app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert '<section title="Python documentation" ref="index.html">' in qhp - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<title>Python documentation</title>' in qhcp # give a title @@ -126,9 +126,9 @@ def test_qthelp_title(app, status, warni app.config.html_short_title = 'Sphinx <b>"short"</b> title' app.builder.build_all() - qhp = (app.outdir / 'Python.qhp').text() + qhp = (app.outdir / 'Python.qhp').read_text() assert ('<section title="Sphinx <b>"full"</b> title" ref="index.html">' in qhp) - qhcp = (app.outdir / 'Python.qhcp').text() + qhcp = (app.outdir / 'Python.qhcp').read_text() assert '<title>Sphinx <b>"short"</b> title</title>' in qhcp
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