diff --git a/tests/test_build_html.py b/tests/test_build_html.py index 93f1130bb..51732435e 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -1389,20 +1389,21 @@ def test_html_math_renderer_is_mismatched(make_app, app_params): assert str(exc) == "Unknown math_renderer 'imgmath' is given." -@pytest.mark.sphinx('html', testroot='roles-download') -def test_html_download_role(app, status, warning): - app.build() - assert (app.outdir / '_downloads' / 'dummy.dat').exists() +@pytest.mark.sphinx('html', testroot='basic') +def test_html_pygments_style_default(app): + style = app.builder.highlighter.formatter_args.get('style') + assert style.__name__ == 'Alabaster' - content = (app.outdir / 'index.html').text() - assert ('
'
- 'dummy.dat
'
- 'not_found.dat
'
- 'Sphinx logo'
- '