From 7d4eb7ac4b0410294db5778536f250062cabf8b6 Mon Sep 17 00:00:00 2001 From: Jon Waltman Date: Thu, 16 Sep 2010 02:19:06 -0500 Subject: Add tests for Texinfo builder --- tests/test_quickstart.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/test_quickstart.py') diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py index 541959bd..453bf536 100644 --- a/tests/test_quickstart.py +++ b/tests/test_quickstart.py @@ -171,6 +171,14 @@ def test_quickstart_all_answers(tempdir): assert ns['man_pages'] == [ ('contents', 'stasi', u'STASI™ Documentation', [u'Wolfgang Schäuble & G\'Beckstein'], 1)] + print ns['texinfo_documents'] + print [('contents', 'STASI', u'STASI™ Documentation', + u'Wolfgang Schäuble & G\'Beckstein', 'STASI', + 'One line description of project.', 'Miscellaneous'),] + assert ns['texinfo_documents'] == [ + ('contents', 'STASI', u'STASI™ Documentation', + u'Wolfgang Schäuble & G\'Beckstein', 'STASI', + 'One line description of project.', 'Miscellaneous'),] assert (tempdir / 'build').isdir() assert (tempdir / 'source' / '.static').isdir() -- cgit v1.2.1