summaryrefslogtreecommitdiff
path: root/tests/test_directive_code.py
diff options
context:
space:
mode:
authorMartin Liška <mliska@suse.cz>2023-04-05 14:54:09 +0200
committerGitHub <noreply@github.com>2023-04-05 13:54:09 +0100
commitfc4fead40d3fd86b28060425cee549b9db5a27bb (patch)
treee75709cf7570f0446f643e8d1f5396b372903339 /tests/test_directive_code.py
parent8e26d78b79ea595a8c601d3b3caecf71341d396e (diff)
downloadsphinx-git-fc4fead40d3fd86b28060425cee549b9db5a27bb.tar.gz
Allow parallel execution of tests in ``test_search`` (#11292)
Add various ``app.builder.build_all()`` calls.
Diffstat (limited to 'tests/test_directive_code.py')
-rw-r--r--tests/test_directive_code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_directive_code.py b/tests/test_directive_code.py
index 049bed326..1e368e045 100644
--- a/tests/test_directive_code.py
+++ b/tests/test_directive_code.py
@@ -456,7 +456,7 @@ def test_literalinclude_file_whole_of_emptyline(app, status, warning):
@pytest.mark.sphinx('html', testroot='directive-code')
def test_literalinclude_caption_html(app, status, warning):
- app.builder.build('index')
+ app.builder.build_all()
html = (app.outdir / 'caption.html').read_text(encoding='utf8')
caption = ('<div class="code-block-caption">'
'<span class="caption-number">Listing 2 </span>'