mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
ref #1776: test fixed.
This commit is contained in:
parent
36d47a2193
commit
a94c40cbcf
@ -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' % \
|
||||||
|
Loading…
Reference in New Issue
Block a user