summaryrefslogtreecommitdiff
path: root/tests/test_docutilsconf.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_docutilsconf.py
parentbc02abcb77143d12c08265c4c10ba9c6cd003832 (diff)
downloadsphinx-git-abcb5bd5eca6ea46ffcc34a55b663083d03f339c.tar.gz
The default setting for master_doc is changed to 'index'
Diffstat (limited to 'tests/test_docutilsconf.py')
-rw-r--r--tests/test_docutilsconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_docutilsconf.py b/tests/test_docutilsconf.py
index 989edc6a8..f6439fff4 100644
--- a/tests/test_docutilsconf.py
+++ b/tests/test_docutilsconf.py
@@ -27,7 +27,7 @@ def test_html_with_default_docutilsconf(app, status, warning):
with patch_docutils(app.confdir):
app.builder.build(['contents'])
- result = (app.outdir / 'contents.html').text(encoding='utf-8')
+ result = (app.outdir / 'index.html').text(encoding='utf-8')
assert regex_count(r'<th class="field-name">', result) == 1
assert regex_count(r'<th class="field-name" colspan="2">', result) == 1
@@ -45,7 +45,7 @@ def test_html_with_docutilsconf(app, status, warning):
with patch_docutils(app.confdir):
app.builder.build(['contents'])
- result = (app.outdir / 'contents.html').text(encoding='utf-8')
+ result = (app.outdir / 'index.html').text(encoding='utf-8')
assert regex_count(r'<th class="field-name">', result) == 0
assert regex_count(r'<th class="field-name" colspan="2">', result) == 2