From fae4f9d81cdfbc546f8df42ab2cbea2520736521 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 21 Jun 2021 09:54:57 +0200 Subject: [PATCH] Add 2 force builds in tests. --- tests/test_build_manpage.py | 2 +- tests/test_build_texinfo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py index 0b7ce2396c9..c72612b3cfe 100644 --- a/tests/test_build_manpage.py +++ b/tests/test_build_manpage.py @@ -33,7 +33,7 @@ def test_all(app, status, warning): @pytest.mark.sphinx('man', testroot='basic', confoverrides={'man_make_section_directory': True}) def test_man_make_section_directory(app, status, warning): - app.build() + app.build(True) assert (app.outdir / 'man1' / 'python.1').exists() diff --git a/tests/test_build_texinfo.py b/tests/test_build_texinfo.py index 546ccaabf4b..d13cc544abb 100644 --- a/tests/test_build_texinfo.py +++ b/tests/test_build_texinfo.py @@ -68,7 +68,7 @@ def test_texinfo(app, status, warning): @pytest.mark.sphinx('texinfo', testroot='markup-rubric') def test_texinfo_rubric(app, status, warning): - app.build() + app.build(True) output = (app.outdir / 'python.texi').read_text() assert '@heading This is a rubric' in output