mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
@@ -1383,3 +1383,19 @@ def test_default_latex_documents():
|
||||
expected = [('index', 'stasi.tex', 'STASI™ Documentation',
|
||||
r"Wolfgang Schäuble \& G'Beckstein.\@{}", 'manual')]
|
||||
assert default_latex_documents(config) == expected
|
||||
|
||||
|
||||
@skip_if_requested
|
||||
@skip_if_stylefiles_notfound
|
||||
@pytest.mark.sphinx('latex', testroot='latex-includegraphics',
|
||||
confoverrides={'latex_documents': [
|
||||
('index', 'python.tex', 'Test PDF build',
|
||||
'Georg Brandl', 'howto')
|
||||
]})
|
||||
def test_includegraphics_oversized(app, status, warning):
|
||||
app.builder.build_all()
|
||||
print(status.getvalue())
|
||||
print(warning.getvalue())
|
||||
compile_latex_document(app)
|
||||
result = (app.outdir / 'pdflatex/python-dimensions.txt').text(encoding='utf8')
|
||||
print(result)
|
||||
|
||||
Reference in New Issue
Block a user