diff options
Diffstat (limited to 'tests/test_build_manpage.py')
| -rw-r--r-- | tests/test_build_manpage.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py index 17a2f7eb8..a0a3efb00 100644 --- a/tests/test_build_manpage.py +++ b/tests/test_build_manpage.py @@ -59,3 +59,10 @@ def test_default_man_pages(): expected = [('index', 'stasi', 'STASI™ Documentation 1.0', ["Wolfgang Schäuble & G'Beckstein"], 1)] assert default_man_pages(config) == expected + + +@pytest.mark.sphinx('man', testroot='markup-rubric') +def test_rubric(app, status, warning): + app.build() + content = (app.outdir / 'python.1').text() + assert 'This is a rubric\n' in content |
