summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index 37d57dd5c..e8189e67b 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -86,6 +86,8 @@ HTML_XPATH = {
".//dl[@class='userdesc']": '',
".//dt[@id='userdescrole-myobj']": '',
".//a[@href='#userdescrole-myobj']": '',
+ # custom sidebar
+ ".//h4": 'Custom sidebar',
},
'contents.html': {
".//meta[@name='hc'][@content='hcval']": '',
@@ -98,6 +100,8 @@ HTML_XPATH = {
".//title": 'Sphinx <Tests>',
".//div[@class='footer']": 'Georg Brandl & Team',
".//a[@href='http://python.org/']": '',
+ # custom sidebar only for contents
+ ".//h4": 'Contents sidebar',
},
'bom.html': {
".//title": " File with UTF-8 BOM",