Skip to content

Commit 54736c4

Browse files
committed
purge ablog from tests
1 parent 8b31a4c commit 54736c4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/test_build.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -779,19 +779,11 @@ def test_deprecated_build_html(sphinx_build_factory, file_regression):
779779
assert not sphinx_build.html_tree("page2.html").select("div.bd-sidebar-secondary")
780780

781781

782-
def test_ablog(sphinx_build_factory):
783-
"""Ensure that we are over-riding the ABlog default FontAwesome config."""
784-
785-
confoverrides = {"extensions": ["ablog"]}
786-
sphinx_build = sphinx_build_factory("base", confoverrides=confoverrides).build()
787-
assert sphinx_build.app.config.fontawesome_included is True
788-
789-
790782
def test_empty_templates(sphinx_build_factory):
791783
"""If a template is empty (e.g., via a config), it should be removed."""
792784
# When configured to be gone, the template should be removed w/ its parent.
793785
# ABlog needs to be added so we can test that template rendering works w/ it.
794-
confoverrides = {"html_show_sourcelink": False, "extensions": ["ablog"]}
786+
confoverrides = {"html_show_sourcelink": False}
795787
sphinx_build = sphinx_build_factory("base", confoverrides=confoverrides).build()
796788
toc_items = sphinx_build.html_tree("page1.html").select(".toc-item")
797789
assert not any(ii.select(".tocsection.sourcelink") for ii in toc_items)

0 commit comments

Comments
 (0)