summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-03 21:38:31 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-04 01:14:16 +0900
commitabcb5bd5eca6ea46ffcc34a55b663083d03f339c (patch)
treefc2c6046c3842e3ef5efd2b9d15a88c6ff16eeab /tests/test_build_html.py
parentbc02abcb77143d12c08265c4c10ba9c6cd003832 (diff)
downloadsphinx-git-abcb5bd5eca6ea46ffcc34a55b663083d03f339c.tar.gz
The default setting for master_doc is changed to 'index'
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index b8286edb3..05d71cf12 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -249,7 +249,7 @@ def test_html_warnings(app, warning):
# footnote reference
(".//a[@class='footnote-reference']", r'\[1\]'),
# created by reference lookup
- (".//a[@href='contents.html#ref1']", ''),
+ (".//a[@href='index.html#ref1']", ''),
# ``seealso`` directive
(".//div/p[@class='first admonition-title']", 'See also'),
# a ``hlist`` directive
@@ -348,7 +348,7 @@ def test_html_warnings(app, warning):
(".//a[@class='reference internal'][@href='#cmdoption-git-commit-p']/code/span",
'-p'),
],
- 'contents.html': [
+ 'index.html': [
(".//meta[@name='hc'][@content='hcval']", ''),
(".//meta[@name='hc_co'][@content='hcval_co']", ''),
(".//td[@class='label']", r'\[Ref1\]'),