diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-09-03 21:38:31 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-09-04 01:14:16 +0900 |
commit | abcb5bd5eca6ea46ffcc34a55b663083d03f339c (patch) | |
tree | fc2c6046c3842e3ef5efd2b9d15a88c6ff16eeab /tests/test_build.py | |
parent | bc02abcb77143d12c08265c4c10ba9c6cd003832 (diff) | |
download | sphinx-git-abcb5bd5eca6ea46ffcc34a55b663083d03f339c.tar.gz |
The default setting for master_doc is changed to 'index'
Diffstat (limited to 'tests/test_build.py')
-rw-r--r-- | tests/test_build.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index 47d76b2a2..193de4043 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -51,7 +51,7 @@ def nonascii_srcdir(request, rootdir, sphinx_test_tempdir): ======================= """)) - master_doc = srcdir / 'contents.txt' + master_doc = srcdir / 'index.txt' master_doc.write_text(master_doc.text() + dedent(u""" .. toctree:: @@ -93,10 +93,10 @@ def test_circular_toctree(app, status, warning): warnings = warning.getvalue() assert ( 'circular toctree references detected, ignoring: ' - 'sub <- contents <- sub') in warnings + 'sub <- index <- sub') in warnings assert ( 'circular toctree references detected, ignoring: ' - 'contents <- sub <- contents') in warnings + 'index <- sub <- index') in warnings @pytest.mark.sphinx(buildername='text', testroot='numbered-circular') @@ -105,10 +105,10 @@ def test_numbered_circular_toctree(app, status, warning): warnings = warning.getvalue() assert ( 'circular toctree references detected, ignoring: ' - 'sub <- contents <- sub') in warnings + 'sub <- index <- sub') in warnings assert ( 'circular toctree references detected, ignoring: ' - 'contents <- sub <- contents') in warnings + 'index <- sub <- index') in warnings @pytest.mark.sphinx(buildername='dummy', testroot='images') |