Also change depart_admonition calls for html5 builder

This commit is contained in:
Travis A. Everett
2017-03-04 20:32:46 -06:00
parent 1e28eeb348
commit 4c67c110f6
2 changed files with 8 additions and 9 deletions

View File

@@ -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