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_builder.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_builder.py')
-rw-r--r-- | tests/test_builder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_builder.py b/tests/test_builder.py index d58091e8d..dbc9d3dae 100644 --- a/tests/test_builder.py +++ b/tests/test_builder.py @@ -22,7 +22,7 @@ def test_incremental_reading(app): # before second reading, add, modify and remove source files (app.srcdir / 'new.txt').write_text('New file\n========\n') - app.env.all_docs['contents'] = 0 # mark as modified + app.env.all_docs['index'] = 0 # mark as modified (app.srcdir / 'autodoc.txt').unlink() # second reading @@ -31,7 +31,7 @@ def test_incremental_reading(app): # "includes" and "images" are in there because they contain references # to nonexisting downloadable or image files, which are given another # chance to exist - assert set(updated) == set(['contents', 'new', 'includes', 'images']) + assert set(updated) == set(['index', 'new', 'includes', 'images']) assert 'autodoc' not in app.env.all_docs assert 'autodoc' not in app.env.found_docs |