mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #4612 from tk0miya/optimize_latex_testcase
Use roots/basic for test_latex_logo_if_not_found
This commit is contained in:
commit
ec8226daa7
@ -767,7 +767,8 @@ def test_image_in_section(app, status, warning):
|
|||||||
assert ('\\chapter{Another section}' in result)
|
assert ('\\chapter{Another section}' in result)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.sphinx('latex', confoverrides={'latex_logo': 'notfound.jpg'})
|
@pytest.mark.sphinx('latex', testroot='basic',
|
||||||
|
confoverrides={'latex_logo': 'notfound.jpg'})
|
||||||
def test_latex_logo_if_not_found(app, status, warning):
|
def test_latex_logo_if_not_found(app, status, warning):
|
||||||
try:
|
try:
|
||||||
app.builder.build_all()
|
app.builder.build_all()
|
||||||
|
Loading…
Reference in New Issue
Block a user