mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Use `app.build(force_all=True)
`
This commit is contained in:
parent
7227b09a2d
commit
4b1d64d1e5
@ -1826,7 +1826,7 @@ def test_domain_cpp_build_field_role(app):
|
||||
|
||||
@pytest.mark.sphinx('html', testroot='domain-cpp', confoverrides={'nitpicky': True})
|
||||
def test_domain_cpp_build_operator_lookup(app):
|
||||
app.builder.build_all()
|
||||
app.build(force_all=True)
|
||||
ws = filter_warnings(app.warning, 'operator-lookup')
|
||||
assert len(ws) == 5
|
||||
# TODO: the first one should not happen
|
||||
|
@ -173,7 +173,7 @@ def test_local_source_files(app):
|
||||
|
||||
@pytest.mark.sphinx('html', testroot='ext-viewcode-find-package', freshenv=True)
|
||||
def test_find_local_package_import_path(app, status, warning):
|
||||
app.builder.build_all()
|
||||
app.build(force_all=True)
|
||||
result = (app.outdir / 'index.html').read_text(encoding='utf8')
|
||||
|
||||
count_func1 = result.count(
|
||||
|
Loading…
Reference in New Issue
Block a user