mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Extend latex footnotes unit test
This commit is contained in:
parent
c3b44dc1c8
commit
7c7032dd05
@ -169,3 +169,9 @@ Footnote in term [#]_
|
||||
|
||||
def bar(x,y):
|
||||
return x+y
|
||||
|
||||
The section with an object description
|
||||
======================================
|
||||
|
||||
.. py:function:: dummy(N)
|
||||
:noindex:
|
||||
|
@ -829,6 +829,7 @@ def test_latex_show_urls_is_inline(app, status, warning):
|
||||
assert '\\sphinxurl{https://github.com/sphinx-doc/sphinx}\n' in result
|
||||
assert ('\\sphinxhref{mailto:sphinx-dev@googlegroups.com}'
|
||||
'{sphinx\\sphinxhyphen{}dev@googlegroups.com}') in result
|
||||
assert '\\begin{savenotes}\\begin{fulllineitems}' not in result
|
||||
|
||||
|
||||
@pytest.mark.sphinx(
|
||||
@ -883,6 +884,7 @@ def test_latex_show_urls_is_footnote(app, status, warning):
|
||||
assert ('\\sphinxurl{https://github.com/sphinx-doc/sphinx}\n' in result)
|
||||
assert ('\\sphinxhref{mailto:sphinx-dev@googlegroups.com}'
|
||||
'{sphinx\\sphinxhyphen{}dev@googlegroups.com}\n') in result
|
||||
assert '\\begin{savenotes}\\begin{fulllineitems}' in result
|
||||
|
||||
|
||||
@pytest.mark.sphinx(
|
||||
@ -926,6 +928,7 @@ def test_latex_show_urls_is_no(app, status, warning):
|
||||
assert ('\\sphinxurl{https://github.com/sphinx-doc/sphinx}\n' in result)
|
||||
assert ('\\sphinxhref{mailto:sphinx-dev@googlegroups.com}'
|
||||
'{sphinx\\sphinxhyphen{}dev@googlegroups.com}\n') in result
|
||||
assert '\\begin{savenotes}\\begin{fulllineitems}' not in result
|
||||
|
||||
|
||||
@pytest.mark.sphinx(
|
||||
|
Loading…
Reference in New Issue
Block a user