quickstart: Simplify generated conf.py (for manpage)

This commit is contained in:
Takeshi KOMIYA
2018-11-24 01:08:50 +09:00
parent 55a587ad80
commit a5e7e85e92
5 changed files with 28 additions and 27 deletions

View File

@@ -191,9 +191,6 @@ def test_quickstart_all_answers(tempdir):
assert ns['latex_documents'] == [
('contents', 'STASI.tex', u'STASI™ Documentation',
u'Wolfgang Schäuble \\& G\'Beckstein', 'manual')]
assert ns['man_pages'] == [
('contents', 'stasi', u'STASI™ Documentation',
[u'Wolfgang Schäuble & G\'Beckstein'], 1)]
assert (tempdir / 'build').isdir()
assert (tempdir / 'source' / '.static').isdir()
@@ -263,7 +260,6 @@ def test_default_filename(tempdir):
ns = {}
execfile_(conffile, ns)
assert ns['latex_documents'][0][1] == 'sphinx.tex'
assert ns['man_pages'][0][1] == 'sphinx'
def test_extensions(tempdir):