Merge pull request #4612 from tk0miya/optimize_latex_testcase

Use roots/basic for test_latex_logo_if_not_found
This commit is contained in:
Takeshi KOMIYA 2018-02-17 00:25:32 +09:00 committed by GitHub
commit ec8226daa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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