ref #1776: test fixed.

This commit is contained in:
shimizukawa 2015-03-16 00:27:12 +09:00
parent 36d47a2193
commit a94c40cbcf

View File

@ -144,7 +144,7 @@ def test_quickstart_defaults(tempdir):
execfile_(conffile, ns) execfile_(conffile, ns)
assert ns['extensions'] == [] assert ns['extensions'] == []
assert ns['templates_path'] == ['_templates'] assert ns['templates_path'] == ['_templates']
assert ns['source_suffix'] == ['.rst'] assert ns['source_suffix'] == '.rst'
assert ns['master_doc'] == 'index' assert ns['master_doc'] == 'index'
assert ns['project'] == 'Sphinx Test' assert ns['project'] == 'Sphinx Test'
assert ns['copyright'] == '%s, Georg Brandl' % time.strftime('%Y') assert ns['copyright'] == '%s, Georg Brandl' % time.strftime('%Y')
@ -203,7 +203,7 @@ def test_quickstart_all_answers(tempdir):
'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo' 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo'
] ]
assert ns['templates_path'] == ['.templates'] assert ns['templates_path'] == ['.templates']
assert ns['source_suffix'] == ['.txt'] assert ns['source_suffix'] == '.txt'
assert ns['master_doc'] == 'contents' assert ns['master_doc'] == 'contents'
assert ns['project'] == u'STASI™' assert ns['project'] == u'STASI™'
assert ns['copyright'] == u'%s, Wolfgang Schäuble & G\'Beckstein' % \ assert ns['copyright'] == u'%s, Wolfgang Schäuble & G\'Beckstein' % \