summaryrefslogtreecommitdiff
path: root/tests/test_quickstart.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-28 10:21:00 +0100
committerGeorg Brandl <georg@python.org>2010-02-28 10:21:00 +0100
commit887ee5f5291ccf51bdddf137a4cd8df20b3482a5 (patch)
tree3dbe8d2ef949192fa98e98f0489fb0dbfdc8be2b /tests/test_quickstart.py
parentcb653c494f300f5cc5208524b100878eca8ff8be (diff)
parenta8cca36b28a33b22e7d79600cfbbd33f5ec4f09a (diff)
downloadsphinx-887ee5f5291ccf51bdddf137a4cd8df20b3482a5.tar.gz
merge with trunk
Diffstat (limited to 'tests/test_quickstart.py')
-rw-r--r--tests/test_quickstart.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py
index 11782fb6..cb40d27c 100644
--- a/tests/test_quickstart.py
+++ b/tests/test_quickstart.py
@@ -126,8 +126,10 @@ def test_quickstart_all_answers(tempdir):
'pngmath': 'N',
'jsmath': 'no',
'ifconfig': 'no',
+ 'viewcode': 'no',
'Create Makefile': 'no',
'Create Windows command file': 'no',
+ 'Do you want to use the epub builder': 'yes',
}
qs.raw_input = mock_raw_input(answers, needanswer=True)
qs.TERM_ENCODING = 'utf-8'
@@ -150,6 +152,10 @@ 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['epub_author'] == u'Wolfgang Schäuble & G\'Beckstein'
+ 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()