mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Also change depart_admonition calls for html5 builder
This commit is contained in:
@@ -442,8 +442,7 @@ def test_html_output(app, cached_etree_parse, fname, expect):
|
||||
app.build()
|
||||
check_xpath(cached_etree_parse(app.outdir / fname), fname, *expect)
|
||||
|
||||
@pytest.mark.sphinx('html', testroot='build-html-translator', tags=['testtag'], confoverrides={
|
||||
'html_context.hckey_co': 'hcval_co'})
|
||||
@pytest.mark.sphinx('html', testroot='build-html-translator')
|
||||
def test_html_translator(app):
|
||||
app.build()
|
||||
assert app.builder.docwriter.visitor.depart_with_node == 10
|
||||
|
||||
Reference in New Issue
Block a user