add project gutenberg
[docutils.git] / test / test_writers / test_null.py
blobc5203859e86f5fb99e92e48fda702487e58f0c05
1 #!/usr/bin/env python
3 # $Id$
4 # Author: Lea Wiemann <LeWiemann@gmail.com>
5 # Copyright: This module has been placed in the public domain.
7 """
8 Test for Null writer.
9 """
11 from __init__ import DocutilsTestSupport
13 def suite():
14 s = DocutilsTestSupport.PublishTestSuite('null')
15 s.generateTests(totest)
16 return s
18 totest = {}
20 totest['basic'] = [
21 ["""\
22 This is a paragraph.
23 """,
24 None]
27 if __name__ == '__main__':
28 import unittest
29 unittest.main(defaultTest='suite')