Skip to content

Commit

Permalink
Force to use always the same .tex filename output
Browse files Browse the repository at this point in the history
It differs in Sphinx1.8 and the rest. So, forcing its name to be always the same
in tests.
  • Loading branch information
humitos committed Apr 16, 2020
1 parent 7a1d9e4 commit 0655561
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/examples/default/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@
'sphinx.ext.autosectionlabel',
'hoverxref.extension',
]

latex_documents = [
(master_doc, 'test.tex', u'test Documentation',
u'test', 'manual'),
]
2 changes: 1 addition & 1 deletion tests/test_internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)
def test_dont_override_translator_non_html_builder(app, status, warning):
app.build()
path = app.outdir / 'python.tex'
path = app.outdir / 'test.tex'
assert path.exists() is True
content = open(path).read()

Expand Down

0 comments on commit 0655561

Please sign in to comment.