Fix test: filename has been smallcased since 2.0

This commit is contained in:
Takeshi KOMIYA 2019-03-10 17:07:15 +09:00
parent 4bac6b56d0
commit b691fa804d

View File

@ -1414,7 +1414,7 @@ def test_includegraphics_oversized(app, status, warning):
@pytest.mark.sphinx('latex', testroot='index_on_title') @pytest.mark.sphinx('latex', testroot='index_on_title')
def test_index_on_title(app, status, warning): def test_index_on_title(app, status, warning):
app.builder.build_all() app.builder.build_all()
result = (app.outdir / 'Python.tex').text(encoding='utf8') result = (app.outdir / 'python.tex').text(encoding='utf8')
assert ('\\chapter{Test for index in top level title}\n' assert ('\\chapter{Test for index in top level title}\n'
'\\label{\\detokenize{contents:test-for-index-in-top-level-title}}' '\\label{\\detokenize{contents:test-for-index-in-top-level-title}}'
'\\index{index@\\spxentry{index}}\n' '\\index{index@\\spxentry{index}}\n'