Use roots/basic for test_latex_logo_if_not_found

This commit is contained in:
Takeshi KOMIYA 2018-02-14 01:34:50 +09:00
parent 91807f882d
commit 5b02d61a04

View File

@ -767,7 +767,8 @@ def test_image_in_section(app, status, warning):
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):
try:
app.builder.build_all()