diff options
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r-- | tests/test_build_html.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py index 2e53bdc54..e74319f19 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -1635,3 +1635,11 @@ def test_html_permalink_icon(app): assert ('<h1>The basic Sphinx documentation for testing<a class="headerlink" ' 'href="#the-basic-sphinx-documentation-for-testing" ' 'title="Permalink to this headline"><span>[PERMALINK]</span></a></h1>' in content) + + +@pytest.mark.sphinx('html', testroot='html_signaturereturn_icon') +def test_html_signaturereturn_icon(app): + app.build() + content = (app.outdir / 'index.html').read_text() + + assert ('<span class="sig-return-icon">→</span>' in content) |